public void startGame(List <ConnectedPlayer> players) { protocol = gameMaster.protocol; this.players = players; bodies [0] = new PlayerBody(); bodies [1] = new PlayerBody(); gameLogic.startGame(gameMaster); }
public override void initProtocol(CommProtocol protocol) { this.protocol = (SnakeProtocol)protocol; }