1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-26 12:22:41 +01:00
openrw/rwgame/states/MenuState.hpp

22 lines
383 B
C++
Raw Normal View History

2014-05-26 06:34:49 +02:00
#ifndef MENUSTATE_HPP
#define MENUSTATE_HPP
#include "StateManager.hpp"
2014-05-26 06:34:49 +02:00
2016-09-09 22:13:20 +02:00
class MenuState : public State {
2014-05-26 06:34:49 +02:00
public:
2016-09-09 22:13:20 +02:00
MenuState(RWGame* game);
2014-05-26 06:34:49 +02:00
2016-09-09 22:13:20 +02:00
virtual void enter();
virtual void exit();
2014-05-26 06:34:49 +02:00
2016-09-09 22:13:20 +02:00
virtual void tick(float dt);
2014-05-26 06:34:49 +02:00
2016-09-09 22:13:20 +02:00
virtual void enterMainMenu();
virtual void enterLoadMenu();
2016-09-09 22:13:20 +02:00
virtual void handleEvent(const SDL_Event& event);
2014-05-26 06:34:49 +02:00
};
2016-09-09 22:13:20 +02:00
#endif // MENUSTATE_HPP