1 #ifndef BLANK_APP_SERVERSTATE_HPP_
2 #define BLANK_APP_SERVERSTATE_HPP_
4 #include "IntervalTimer.hpp"
6 #include "../net/Server.hpp"
7 #include "../world/BlockTypeRegistry.hpp"
8 #include "../world/World.hpp"
13 class HeadlessEnvironment;
20 HeadlessEnvironment &,
21 const World::Config &,
23 const Server::Config &
26 void Handle(const SDL_Event &) override;
27 void Update(int dt) override;
28 void Render(Viewport &) override;
31 HeadlessEnvironment &env;
32 BlockTypeRegistry block_types;
35 IntervalTimer push_timer;