mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-25 11:52:40 +01:00
6a7802de87
Removed raw State pointers in favour of unique_ptrs Avoid allowing control flow to re-enter States that have exited Defer releasing states until the end of the frame
21 lines
360 B
C++
21 lines
360 B
C++
#ifndef PAUSESTATE_HPP
|
|
#define PAUSESTATE_HPP
|
|
|
|
#include "StateManager.hpp"
|
|
|
|
class PauseState : public State {
|
|
public:
|
|
PauseState(RWGame* game);
|
|
|
|
virtual void enter();
|
|
virtual void exit();
|
|
|
|
virtual void tick(float dt);
|
|
|
|
virtual void draw(GameRenderer* r);
|
|
|
|
virtual void handleEvent(const SDL_Event& event);
|
|
};
|
|
|
|
#endif // PAUSESTATE_HPP
|