Lisov N.A. Lab_work2 #2
@ -17,7 +17,7 @@ namespace AirFighter
|
||||
|
||||
public float Step => _aircraft.Plane?.Step ?? 0;
|
||||
|
||||
public (float Left, float Right, float Top, float Bottom) GetCurrentPosition()
|
||||
public (float Left, float Top, float Right, float Bottom) GetCurrentPosition()
|
||||
{
|
||||
return _aircraft?.GetCurrentPosition() ?? default;
|
||||
}
|
||||
@ -37,6 +37,12 @@ namespace AirFighter
|
||||
_aircraft.DrawTransport(g);
|
||||
}
|
||||
|
||||
|
||||
public void DoSomething()
|
||||
|
||||
{
|
||||
Random rnd = new Random();
|
||||
int x = rnd.Next(0, 10);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user
Дополнительное задание в итоговый код не включается