сдача
This commit is contained in:
parent
92cdbb3813
commit
72b2d823c7
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user