1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-26 04:12:41 +01:00
openrw/rwgame/loadingstate.hpp

28 lines
466 B
C++
Raw Normal View History

#ifndef LOADINGSTATE_HPP
2014-06-06 13:18:32 +02:00
#define LOADINGSTATE_HPP
#include <SDL2/SDL_events.h>
2014-06-06 13:18:32 +02:00
#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