mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
28 lines
562 B
C++
28 lines
562 B
C++
#ifndef EVENT_LISTENER
|
|
#define EVENT_LISTENER
|
|
|
|
#include "gameManager.h"
|
|
|
|
class GLFWwindow;
|
|
|
|
namespace game{
|
|
namespace core{
|
|
class StateManager;
|
|
|
|
class InputManager {
|
|
public:
|
|
InputManager(GLFWwindow*);
|
|
~InputManager();
|
|
//virtual bool OnEvent(const irr::SEvent&);
|
|
void update();
|
|
private:
|
|
//irr::SEvent* event;
|
|
GLFWwindow *window = nullptr;
|
|
StateManager *stateManager = nullptr;
|
|
bool keyEvent = false, mouseEvent = false;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif
|