IsInProgress() public method

public IsInProgress ( ) : bool
return bool
Example #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);
        }