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 "../model/ShapeRegistry.hpp"
9 #include "../model/Skeletons.hpp"
10 #include "../world/BlockTypeRegistry.hpp"
11 #include "../world/ChunkLoader.hpp"
12 #include "../world/Generator.hpp"
13 #include "../world/World.hpp"
19 class HeadlessEnvironment;
29 HeadlessEnvironment &,
30 const Generator::Config &,
31 const World::Config &,
37 void Handle(const SDL_Event &) override;
38 void Update(int dt) override;
39 void Render(Viewport &) override;
42 HeadlessEnvironment &env;
44 BlockTypeRegistry block_types;
47 ChunkLoader chunk_loader;
51 IntervalTimer loop_timer;