сдача

This commit is contained in:
AnnaLioness 2023-10-10 12:10:43 +04:00
parent 92cdbb3813
commit 72b2d823c7
2 changed files with 2 additions and 5 deletions

View File

@ -32,9 +32,6 @@ namespace Lab1ContainersShip.MovementStrategy
_drawingShip?.CanMove(direction) ?? false; _drawingShip?.CanMove(direction) ?? false;
public void MoveObject(Direction direction) => public void MoveObject(Direction direction) =>
_drawingShip?.MoveTransport(direction); _drawingShip?.MoveTransport(direction);
public void DopMeth(Direction direction)
{
Console.WriteLine("метод работает" + direction);
}
} }
} }

View File

@ -31,7 +31,7 @@ namespace Lab1ContainersShip.MovementStrategy
/// </summary> /// </summary>
/// <param name="direction">Направление</param> /// <param name="direction">Направление</param>
void MoveObject(Direction direction); void MoveObject(Direction direction);
void DopMeth(Direction direction);
} }
} }