ForceEnd() public abstract method

Manual end of the game.
public abstract ForceEnd ( string param ) : void
param string
return void
Exemplo n.º 1
0
        /// <summary>
        /// Dispose and delete game out of List enabledGames.
        /// </summary>
        public static void Delete(Level l)
        {
            Game g = FindGame(l);

            if (g.IsInProgress())
            {
                g.ForceEnd(nullParameters);
            }
            enabledGames.Remove(g);
        }