Pibd-13 Kadyshev M.I. LabWork02 Base #2
@ -28,6 +28,8 @@ public class DrawningAirFighter : DrawningWarPlane
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override void DrawTransport(Graphics g)
|
||||
{
|
||||
if (EntityWarPlane == null || EntityWarPlane is not EntityAirFighter warPlane||!_startPosX.HasValue || !_startPosY.HasValue)
|
||||
|
@ -174,7 +174,7 @@ public class DrawningWarPlane
|
||||
/// </summary>
|
||||
/// <param name="direction">Направление</param>
|
||||
/// <returns>true - перемещение выполнено, false - перемещение невозможно </returns>
|
||||
public bool MoveTransport(DirectionType direction)
|
||||
public virtual bool MoveTransport(DirectionType direction)
|
||||
{
|
||||
if (EntityWarPlane == null || !_startPosX.HasValue || !_startPosY.HasValue)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user