mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-29 12:33:39 +00:00
26 lines
496 B
C++
26 lines
496 B
C++
#ifndef EVENT_LISTENER
|
|
#define EVENT_LISTENER
|
|
|
|
#include "gameManager.h"
|
|
|
|
class GLFWwindow;
|
|
|
|
namespace battleship{
|
|
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
|