1 #ifndef BLANK_SERVER_SERVERSTATE_HPP_
2 #define BLANK_SERVER_SERVERSTATE_HPP_
5 #include "../ai/Spawner.hpp"
6 #include "../app/IntervalTimer.hpp"
7 #include "../app/State.hpp"
8 #include "../shared/WorldResources.hpp"
9 #include "../world/ChunkLoader.hpp"
10 #include "../world/Generator.hpp"
11 #include "../world/World.hpp"
17 class HeadlessEnvironment;
27 HeadlessEnvironment &,
28 const Generator::Config &,
29 const World::Config &,
35 void Handle(const SDL_Event &) override;
36 void Update(int dt) override;
37 void Render(Viewport &) override;
40 HeadlessEnvironment &env;
44 ChunkLoader chunk_loader;
47 IntervalTimer loop_timer;