server handleInput rework done

This commit is contained in:
LuckyLaszlo
2022-11-29 00:47:02 +01:00
parent 429387ce83
commit 6ac3592bc0
5 changed files with 27 additions and 26 deletions

View File

@@ -10,7 +10,7 @@ class Client {
isAlive: boolean = true;
gameSession: GameSession;
inputArr: ev.EventInput[] = [];
inputBuffer: ev.EventInput;
lastInputId: number = 0;
constructor(socket: WebSocket, id: string) {