1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-18 16:32:32 +02:00
openrw/rwgame/loadingstate.hpp
Christoph Heiss 649f7b144d Replace SFML with SDL2
This entirely replaces all remaining SFML pieces with SDL2 and
brings OpenRW up to OpenGL 3.3
2016-06-22 12:29:39 +02:00

28 lines
466 B
C++

#ifndef LOADINGSTATE_HPP
#define LOADINGSTATE_HPP
#include <SDL2/SDL_events.h>
#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