Изменено форматирование кода

This commit is contained in:
Илья 2023-10-10 15:48:46 +04:00
parent eb9938a360
commit aa1469a83d
7 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,5 @@
package projectMonorail;
public enum DirectionType {
Up,

View File

@ -6,8 +6,6 @@ public class DrawingMonorail {
private EntityMonorail entityMonorail;
private DrawingWheels drawingWheels;
public EntityMonorail getEntityMonorail() {
return entityMonorail;
}
@ -16,6 +14,8 @@ public class DrawingMonorail {
this.entityMonorail = entityMonorail;
}
private DrawingWheels drawingWheels;
private int pictureWidth;
private int pictureHeight;

View File

@ -3,6 +3,7 @@ package projectMonorail;
import java.awt.*;
public class DrawingWheels {
private WheelNumber wheelNumber;
public void setWheelNumber(int number) {

View File

@ -49,6 +49,7 @@ public class EntityMonorail {
public boolean getMagneticRail() {
return magneticRail;
}
private void setMagneticRail(boolean magneticRail) {
this.magneticRail = magneticRail;
}

View File

@ -17,5 +17,4 @@ public class FrameMonorail extends JFrame {
setLocationRelativeTo(null);
setVisible(true);
}
}

View File

@ -2,7 +2,7 @@ package projectMonorail;
public class Main {
public static void main(String[] args) {
FrameMonorail frame = new FrameMonorail();
FrameMonorail frameMonorail = new FrameMonorail();
}
}

View File

@ -1,4 +1,5 @@
package projectMonorail;
public enum WheelNumber {
Two,