1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 10:22:52 +01:00
openrw/rwgame/loadingstate.hpp
Daniel Evans c3debe530f Add --newgame switch to RWGame
+ Starts the game script execution without showing the menu
2015-04-03 01:26:20 +01:00

25 lines
397 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 void handleEvent(const sf::Event& event);
};
#endif // LOADINGSTATE_HPP