Ejemplo n.º 1
0
 /// <summary>
 /// Stops the game
 /// </summary>
 /// <param name="player">Player stopping the game</param>
 public void Stop( Player player )
 {
     if ( instance == null ) {
         player.Message( "Cannot stop GuildGame: A game is not in progress" );
         return;
     }
     task.Stop();
     foreach ( Player p1 in InGame ) {
         p1.PublicAuxStateObjects.Remove( "GameEnabled" );
     }
     instance = null;
 }
Ejemplo n.º 2
0
 public GuildGame()
 {
     instance = this;
 }