Server game logic

This commit is contained in:
Thomas
2020-08-21 14:18:18 +02:00
parent 932b591728
commit 861105eb92
11 changed files with 114 additions and 33 deletions

View File

@@ -9,5 +9,7 @@ import gltronic.tronio.model.Player;
public interface IGameManager {
void login(WebSocketSession session) throws InterruptedException, IOException;
void leave(WebSocketSession session) throws InterruptedException, IOException;
void update(WebSocketSession session, Player player) throws InterruptedException, IOException;
void updatePlayer(WebSocketSession session, Player player) throws InterruptedException, IOException;
void step() throws InterruptedException, IOException;
}