parent
12ac980057
commit
84a07e4b21
5 changed files with 31 additions and 21 deletions
@ -1 +1,5 @@ |
||||
#include "Window.h" |
||||
|
||||
void Window::mousePressEvent(QMouseEvent *event) { |
||||
InputQueue->submitEvent(event); |
||||
} |
||||
|
@ -1,7 +1,16 @@ |
||||
#pragma once |
||||
|
||||
#include <QWidget> |
||||
#include "Queue.h" |
||||
#include "Audio.h" |
||||
#include "FileManager.h" |
||||
|
||||
class Window : public QWidget { |
||||
|
||||
public: |
||||
static InputQueue * InputQueue; |
||||
static GameQueue * GameQueue; |
||||
static Audio * AudioManager; |
||||
static FileManager * FileManager; |
||||
protected: |
||||
void mousePressEvent(QMouseEvent *event) override; |
||||
}; |
||||
|
Loading…
Reference in new issue