#ifndef LOADINGSTATE_HPP #define LOADINGSTATE_HPP #include "StateManager.hpp" #include class LoadingState : public State { std::function complete; public: LoadingState(RWGame* game, std::function callback); virtual void enter(); virtual void exit(); virtual void tick(float dt); virtual void draw(GameRenderer* r); virtual bool shouldWorldUpdate(); virtual void handleEvent(const SDL_Event& event); }; #endif // LOADINGSTATE_HPP