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