New module: Platform - Split window management from Utility module (#128)
* New module: Platform - Split window management from Utility module Final touch * NDK/SDK: Bring back initialization of Utility
This commit is contained in:
committed by
Jérôme Leclercq
parent
41a1b5d493
commit
5aa072cee3
31
tests/Engine/Platform/EventHandler/BaseState.hpp
Normal file
31
tests/Engine/Platform/EventHandler/BaseState.hpp
Normal file
@@ -0,0 +1,31 @@
|
||||
#ifndef BASESTATE_HPP
|
||||
#define BASESTATE_HPP
|
||||
|
||||
#include "Text.hpp"
|
||||
|
||||
#include <Nazara/Platform/EventHandler.hpp>
|
||||
|
||||
#include <NDK/State.hpp>
|
||||
|
||||
class StateContext;
|
||||
|
||||
class BaseState : public Ndk::State
|
||||
{
|
||||
public:
|
||||
BaseState(StateContext& stateContext);
|
||||
virtual ~BaseState();
|
||||
|
||||
virtual void Enter(Ndk::StateMachine& fsm) override;
|
||||
|
||||
virtual void Leave(Ndk::StateMachine& fsm) override;
|
||||
|
||||
virtual bool Update(Ndk::StateMachine& fsm, float elapsedTime) override;
|
||||
|
||||
protected:
|
||||
virtual void DrawMenu();
|
||||
|
||||
StateContext& m_context;
|
||||
Text m_text;
|
||||
};
|
||||
|
||||
#endif // BASESTATE_HPP
|
||||
Reference in New Issue
Block a user