]> git.localhorst.tv Git - blank.git/blobdiff - src/app/ServerState.hpp
sync entities with clients
[blank.git] / src / app / ServerState.hpp
index fc9ac1983d441e032846d6d53406920b98e2fb05..5a3c0dcacaac7c1b9feb5ac52c3e89bdfb0b0434 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef BLANK_APP_SERVERSTATE_HPP_
 #define BLANK_APP_SERVERSTATE_HPP_
 
+#include "IntervalTimer.hpp"
 #include "State.hpp"
 #include "../net/Server.hpp"
 #include "../world/BlockTypeRegistry.hpp"
@@ -31,6 +32,7 @@ private:
        BlockTypeRegistry block_types;
        World world;
        Server server;
+       IntervalTimer push_timer;
 
 };