1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 19:32:49 +01:00
openrw/rwgame/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();
2014-06-06 13:18:32 +02:00
virtual void handleEvent(const sf::Event& event);
};
#endif // LOADINGSTATE_HPP