ChessConsole.Utils.IsInGame C# (CSharp) 메소드

IsInGame() 공개 정적인 메소드

public static IsInGame ( ) : bool
리턴 bool
        public static bool IsInGame()
        {
            if (CurrentUser.CurrentGame == null)
            {
                Console.WriteLine("You are not in game.");
                return false;
            }
            return true;
        }