BattleshipUtility.BattleshipGame.Loss C# (CSharp) Method

Loss() private method

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

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