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 &,
36 void Handle(const SDL_Event &) override;
37 void Update(int dt) override;
38 void Render(Viewport &) override;
41 HeadlessEnvironment &env;
42 BlockTypeRegistry block_types;
45 ChunkLoader chunk_loader;
49 IntervalTimer loop_timer;