1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 18:32:44 +01:00
openrw/rwgame/loadingstate.hpp

25 lines
397 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);
2014-06-06 13:18:32 +02:00
virtual void handleEvent(const sf::Event& event);
};
#endif // LOADINGSTATE_HPP