1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-02 00:42:33 +01:00
openrw/rwgame/states/LoadingState.hpp

27 lines
437 B
C++
Raw Normal View History

#ifndef LOADINGSTATE_HPP
2014-06-06 13:18:32 +02:00
#define LOADINGSTATE_HPP
#include "State.hpp"
class LoadingState : public State
{
State* next;
2014-06-06 13:18:32 +02:00
public:
LoadingState(RWGame* game);
2014-06-06 13:18:32 +02:00
virtual void enter();
virtual void exit();
virtual void tick(float dt);
2015-02-07 23:55:06 +01:00
virtual void draw(GameRenderer* r);
2014-06-06 13:18:32 +02:00
void setNextState(State* nextState);
virtual bool shouldWorldUpdate();
virtual void handleEvent(const SDL_Event& event);
2014-06-06 13:18:32 +02:00
};
#endif // LOADINGSTATE_HPP