2014-05-26 06:34:49 +02:00
|
|
|
#ifndef PAUSESTATE_HPP
|
|
|
|
#define PAUSESTATE_HPP
|
|
|
|
|
2016-10-17 00:56:51 +02:00
|
|
|
#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
|
|
|
|
2016-09-09 22:13:20 +02:00
|
|
|
virtual void enter();
|
|
|
|
virtual void exit();
|
|
|
|
|
|
|
|
virtual void tick(float dt);
|
2014-05-26 06:34:49 +02:00
|
|
|
|
2015-02-07 23:55:06 +01:00
|
|
|
virtual void draw(GameRenderer* r);
|
2014-05-26 06:34:49 +02:00
|
|
|
|
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 // PAUSESTATE_HPP
|