Lab2 Done+

This commit is contained in:
Artyom_Yashin 2023-10-28 16:22:45 +04:00
parent b24bc2162b
commit 15220ac426
2 changed files with 0 additions and 3 deletions

View File

@ -13,7 +13,6 @@ public class DrawingAirBomber extends DrawingPlane {
entityPlane = new EntityAirBomber(speed, weight, bodyColor, additionalColor,bombs, fuel);
}
private DrawingEngines1 drawingEngines1;
public void drawTransport(Graphics2D g)
{
if (!(entityPlane instanceof EntityAirBomber))

View File

@ -115,9 +115,7 @@ public class DrawingPlane {
public void moveTransport(DirectionType direction)
{
if (!canMove(direction) || entityPlane == null)
{
return;
}
switch (direction)
{
//влево