Exemple #1
0
        private void PaintShipHit(Coordinate coordinate, char hit)
        {
            var x = _cursorHelper.GetLeftForCoordinate(coordinate);
            var y = _cursorHelper.GetTopForCoordinate(coordinate);

            _outputWriter.SetCursorPosition(x, y);
            _outputWriter.Write(hit.ToString());
        }