Lab2 Done+
This commit is contained in:
parent
b24bc2162b
commit
15220ac426
@ -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))
|
||||
|
@ -115,9 +115,7 @@ public class DrawingPlane {
|
||||
public void moveTransport(DirectionType direction)
|
||||
{
|
||||
if (!canMove(direction) || entityPlane == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
switch (direction)
|
||||
{
|
||||
//влево
|
||||
|
Loading…
x
Reference in New Issue
Block a user