33 lines
791 B
C++
33 lines
791 B
C++
#ifndef StateSettings_h__
|
|
#define StateSettings_h__
|
|
|
|
#include "IGameState.h"
|
|
#include "ActionBuffer.h"
|
|
#include <gui/GUIManager.h>
|
|
#include <gui/GUIOverlay.h>
|
|
#include <gui/GUIComboBox.h>
|
|
#include <gui/GUIPlane.h>
|
|
|
|
class MyGame;
|
|
|
|
class StateSettings : public IGameState
|
|
{
|
|
public:
|
|
StateSettings(const String& name, MyGame* engine);
|
|
void Update();
|
|
void Render();
|
|
void OnEnter();
|
|
void OnLeave();
|
|
void ProcessCmd(const String& cmd, void* params);
|
|
|
|
bool KeyDown( Key key, unsigned int text, const std::string& str );
|
|
bool KeyUp( Key key, unsigned int text, const std::string& str );
|
|
bool MouseMove( int absX, int relX, int absY, int relY);
|
|
bool MousePressed(int buttonId);
|
|
bool MouseReleased(int buttonId);
|
|
|
|
private:
|
|
MyGame* pGame;
|
|
GUIOverlay* pMenu;
|
|
};
|
|
#endif // StateSettings_h__
|