1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 19:32:49 +01:00
openrw/rwgame/states/PauseState.hpp

21 lines
405 B
C++
Raw Normal View History

2014-05-26 06:34:49 +02:00
#ifndef PAUSESTATE_HPP
#define PAUSESTATE_HPP
#include "StateManager.hpp"
2014-05-26 06:34:49 +02:00
2016-09-09 22:13:20 +02:00
class PauseState : public State {
2014-05-26 06:34:49 +02:00
public:
2016-09-09 22:13:20 +02:00
PauseState(RWGame* game);
2014-05-26 06:34:49 +02:00
2017-05-03 09:54:21 +02:00
virtual void enter() override;
virtual void exit() override;
2016-09-09 22:13:20 +02:00
2017-05-03 09:54:21 +02:00
virtual void tick(float dt) override;
2014-05-26 06:34:49 +02:00
2017-05-03 09:54:21 +02:00
virtual void draw(GameRenderer* r) override;
2014-05-26 06:34:49 +02:00
2017-05-03 09:54:21 +02:00
virtual void handleEvent(const SDL_Event& event) override;
2014-05-26 06:34:49 +02:00
};
2016-09-09 22:13:20 +02:00
#endif // PAUSESTATE_HPP