Exemple #1
0
 //! Command to interface which dispatches end of game event to all controller clients.
 public int EndGame()
 {
     foreach (Client client in clients)
     {
         client.SetStatus(5);
         client.SetReadiness(false);
     }
     SendGameEndMessageToDocent();
     return(GameInterface.endGame());
 }