/// <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; }
public GuildGame() { instance = this; }