2014-05-26 06:34:49 +02:00
|
|
|
#ifndef MENUSTATE_HPP
|
|
|
|
#define MENUSTATE_HPP
|
|
|
|
|
2016-10-17 00:56:51 +02:00
|
|
|
#include "StateManager.hpp"
|
2014-05-26 06:34:49 +02:00
|
|
|
|
2018-07-07 22:55:10 +02:00
|
|
|
class MenuState final : 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
|
|
|
|
2018-01-01 04:14:01 +01:00
|
|
|
void enter() override;
|
2014-05-26 06:34:49 +02:00
|
|
|
|
2018-01-01 04:14:01 +01:00
|
|
|
void exit() override;
|
|
|
|
|
|
|
|
void tick(float dt) override;
|
2014-05-26 06:34:49 +02:00
|
|
|
|
2016-09-09 22:13:20 +02:00
|
|
|
virtual void enterMainMenu();
|
|
|
|
virtual void enterLoadMenu();
|
2015-06-14 19:08:55 +02:00
|
|
|
|
2018-01-01 04:14:01 +01:00
|
|
|
void handleEvent(const SDL_Event& event) override;
|
2014-05-26 06:34:49 +02:00
|
|
|
};
|
|
|
|
|
2016-09-09 22:13:20 +02:00
|
|
|
#endif // MENUSTATE_HPP
|