Envoi des millis avec les Inputs

This commit is contained in:
MarcEricMartel
2023-11-02 15:47:15 -04:00
parent f51305bd11
commit ac9174f793
2 changed files with 12 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
#define ENGINE_H__
#include <algorithm>
#include <chrono>
#include <cmath>
#include "../SQCSim-common/array2d.h"
#include "../SQCSim-common/blockinfo.h"
@@ -89,6 +90,7 @@ private:
std::map<uint64_t, Player*> m_players;
netprot::Buffer m_buf;
std::chrono::high_resolution_clock::time_point m_startTime;
//Menu
enum class GameState: uint8_t { MAIN_MENU, OPTIONS, QUIT, NEWG, PLAY };