#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() override; virtual void exit() override; virtual void tick(float dt) override; virtual void draw(GameRenderer* r) override; virtual bool shouldWorldUpdate() override; virtual void handleEvent(const SDL_Event& event) override; }; #endif // LOADINGSTATE_HPP