Fuck aff
This commit is contained in:
@@ -1,39 +0,0 @@
|
|||||||
#ifndef MainMenuSystem_h__
|
|
||||||
#define MainMenuSystem_h__
|
|
||||||
|
|
||||||
#include "../Core/System.h"
|
|
||||||
#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
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
MainMenuSystem(SystemParams params, IRenderer* renderer);
|
|
||||||
virtual void Update(double dt) override;
|
|
||||||
|
|
||||||
private:
|
|
||||||
IRenderer* m_Renderer;
|
|
||||||
|
|
||||||
EventRelay<MainMenuSystem, Events::ButtonClicked> m_EClicked;
|
|
||||||
bool OnButtonClick(const Events::ButtonClicked& e);
|
|
||||||
EventRelay<MainMenuSystem, Events::ButtonReleased> m_EReleased;
|
|
||||||
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 = "";
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
||||||
Reference in New Issue
Block a user