1 #ifndef BLANK_APP_WORLDSTATE_HPP_
2 #define BLANK_APP_WORLDSTATE_HPP_
4 #include "PreloadState.hpp"
6 #include "UnloadState.hpp"
7 #include "../ai/Spawner.hpp"
8 #include "../ui/Interface.hpp"
9 #include "../world/World.hpp"
22 const Interface::Config &,
23 const World::Config &,
27 void OnEnter() override;
29 void Handle(const SDL_Event &) override;
30 void Update(int dt) override;
31 void Render(Viewport &) override;
33 World &GetWorld() noexcept { return world; }
34 Interface &GetInterface() noexcept { return interface; }