BattleshipUtility.BattleshipGame.Loss C# (CSharp) 메소드

Loss() 개인적인 메소드

Handles the 'loss' command
private Loss ( string s ) : CommandResult
s string Unused
리턴 CommandResult
        CommandResult Loss(string s)
        {
            Debug.WriteLine("You lost!");
            GetEnemyPositions();

            _player.Cleanup(GameEndState.Loss);
            return CommandResult.Exit;
        }