IsInProgress() public method

public IsInProgress ( ) : bool
return bool
コード例 #1
0
ファイル: GameControl.cs プロジェクト: jonnyli1125/MCDawn
        /// <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);
        }