mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-13 22:24:17 +01:00
27 lines
437 B
C++
27 lines
437 B
C++
#ifndef LOADINGSTATE_HPP
|
|
#define LOADINGSTATE_HPP
|
|
|
|
#include "State.hpp"
|
|
|
|
class LoadingState : public State
|
|
{
|
|
State* next;
|
|
public:
|
|
LoadingState(RWGame* game);
|
|
|
|
virtual void enter();
|
|
virtual void exit();
|
|
|
|
virtual void tick(float dt);
|
|
|
|
virtual void draw(GameRenderer* r);
|
|
|
|
void setNextState(State* nextState);
|
|
|
|
virtual bool shouldWorldUpdate();
|
|
|
|
virtual void handleEvent(const SDL_Event& event);
|
|
};
|
|
|
|
#endif // LOADINGSTATE_HPP
|