Изменил название класса
This commit is contained in:
parent
abb0e68974
commit
422b56827d
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,6 +5,7 @@ out/
|
||||
|
||||
.idea
|
||||
ProjectTankHard.iml
|
||||
PIbd-23_Dyakonov_R_R_Tank_Hard.iml
|
||||
|
||||
### Eclipse ###
|
||||
.apt_generated
|
||||
|
@ -39,7 +39,7 @@ public class DrawningTankBase {
|
||||
DrawningWheels = new DrawningWheelsOrn(_tankWidth, _tankHeight, _startPosX, _startPosY, bodyColor);
|
||||
break;
|
||||
case 2:
|
||||
DrawningWheels = new DrawningWheelsOrn2(_tankWidth, _tankHeight, _startPosX, _startPosY, bodyColor);
|
||||
DrawningWheels = new DrawningWheelsOrnSecond(_tankWidth, _tankHeight, _startPosX, _startPosY, bodyColor);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -5,12 +5,12 @@ import ProjectTankHard.WheelQuantityType;
|
||||
import java.awt.*;
|
||||
import java.awt.geom.Ellipse2D;
|
||||
|
||||
public class DrawningWheelsOrn2 implements IDraw {
|
||||
public class DrawningWheelsOrnSecond implements IDraw {
|
||||
private WheelQuantityType WheelsQuantity;
|
||||
private Color Color;
|
||||
private int Width, Height;
|
||||
public int currentX, currentY;
|
||||
public DrawningWheelsOrn2(int width, int height, int x, int y, Color color){
|
||||
public DrawningWheelsOrnSecond(int width, int height, int x, int y, Color color){
|
||||
Width = width;
|
||||
Height = height;
|
||||
currentX = x;
|
Loading…
x
Reference in New Issue
Block a user