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