This commit is contained in:
Tleety
2016-03-08 16:15:54 +01:00
parent a0ca4df3be
commit f8ab52c72c
4 changed files with 120 additions and 44 deletions
+6
View File
@@ -5,11 +5,13 @@
#include "../Rendering/IRenderer.h"
#include "../Core/ResourceManager.h"
#include "../Core/Event.h"
#include "Systems/SpawnerSystem.h"
#include "EButtonClicked.h"
#include "EButtonPressed.h"
#include "EButtonReleased.h"
#include "../Input/EInputCommand.h"
class MainMenuSystem : public ImpureSystem
@@ -27,6 +29,10 @@ private:
bool OnButtonRelease(const Events::ButtonReleased& e);
EventRelay<MainMenuSystem, Events::ButtonPressed> m_EPressed;
bool OnButtonPress(const Events::ButtonPressed& e);
EventRelay<MainMenuSystem, Events::InputCommand> m_EInputCommand;
bool OnInputCommand(const Events::InputCommand& e);
std::string m_CurrentCommand = "";
};