PIbd-21 Belianin N.N. LabWork02 Hard #2

Closed
Belnik wants to merge 6 commits from LabWork02 into LabWork01
6 changed files with 7 additions and 8 deletions
Showing only changes of commit bac51aa40c - Show all commits

View File

@ -5,9 +5,9 @@ public enum CountWheels {
Five(5);
private final int Value;
CountWheels(int Count){
Value=Count;
Value = Count;
}
public int getCountWheels(){
return Value;
}
}
}

View File

@ -106,4 +106,4 @@ public class DrawingWheelsCombination implements IOrnamentForm {
CaterpillarStar(g,_startPosX + 105, _startPosY + 12);
}
}
}
}

View File

@ -14,4 +14,4 @@ public class EntityArmoVehicle {
numWheel = _numWheel;
Step = (double) Speed * 200 / Weight;
}
}
}

View File

@ -6,8 +6,7 @@ public class EntityTank extends EntityArmoVehicle {
public boolean Caterpillar;
public boolean Tower;
public EntityTank(int speed, double weight, Color bodyColor, int _numWheel, Color additionalColor, boolean bodyKit, boolean caterpillar, boolean tower)
{
public EntityTank(int speed, double weight, Color bodyColor, int _numWheel, Color additionalColor, boolean bodyKit, boolean caterpillar, boolean tower) {
super(speed, weight, bodyColor, _numWheel);
AdditionalColor = additionalColor;
BodyKit = bodyKit;

View File

@ -10,4 +10,4 @@ public interface IMoveableObject {
/// Изменение направления пермещения объекта
void MoveObject(Direction direction);
}
}

View File

@ -2,4 +2,4 @@ public enum Status {
NotInit,
InProgress,
Finish
}
}