BattleshipUtility.BattleshipGame.Hit C# (CSharp) Method

Hit() private method

Handles the 'hit' command - records last coordinates shot at as a hit
private Hit ( string s ) : CommandResult
s string Unused
return CommandResult
        CommandResult Hit(string s)
        {
            Debug.WriteLine("Hit command received.");
            _player.Offense.Hit();
            return CommandResult.Continue;
        }