Added tick numbers.

This commit is contained in:
2023-07-25 23:32:11 +01:00
parent ecec1c5555
commit ac95d80b32
3 changed files with 18 additions and 0 deletions

View File

@ -13,11 +13,13 @@ struct clientMovement
struct clientInput
{
int clientNumber;
uint64_t tickNumber;
bool left, right, up, down;
};
struct gameState
{
uint64_t tickNumber;
struct timeval timestamp;
struct clientMovement clients[16];
};