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/Skeletons.hpp"
9 #include "../world/BlockTypeRegistry.hpp"
10 #include "../world/ChunkLoader.hpp"
11 #include "../world/Generator.hpp"
12 #include "../world/World.hpp"
18 class HeadlessEnvironment;
28 HeadlessEnvironment &,
29 const Generator::Config &,
30 const World::Config &,
35 void Handle(const SDL_Event &) override;
36 void Update(int dt) override;
37 void Render(Viewport &) override;
40 HeadlessEnvironment &env;
41 BlockTypeRegistry block_types;
44 ChunkLoader chunk_loader;
48 IntervalTimer loop_timer;