aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree
diff options
context:
space:
mode:
authorMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2021-05-03 21:53:00 -0400
committerMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2021-05-03 21:53:00 -0400
commit70785f7afa63a1fe682f6e9f3d03b72ecc24b803 (patch)
treea61891a6711887777c3f47e5f4e75486fdbb8119 /src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree
parentcc03ece233023c57118e9acfeca8103b3bb587e1 (diff)
downloadSkyblock-Dungeons-Guide-70785f7afa63a1fe682f6e9f3d03b72ecc24b803.tar.gz
Skyblock-Dungeons-Guide-70785f7afa63a1fe682f6e9f3d03b72ecc24b803.tar.bz2
Skyblock-Dungeons-Guide-70785f7afa63a1fe682f6e9f3d03b72ecc24b803.zip
IntelliJ's Code Clean Up
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree/ActionRoute.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree/ActionRoute.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree/ActionRoute.java
index d5c99c8a..ce4ba4df 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree/ActionRoute.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree/ActionRoute.java
@@ -13,16 +13,16 @@ import java.util.List;
public class ActionRoute {
@Getter
- private String mechanic;
+ private final String mechanic;
@Getter
- private String state;
+ private final String state;
@Getter
private int current;
@Getter
- private List<Action> actions;
+ private final List<Action> actions;
- private DungeonRoom dungeonRoom;
+ private final DungeonRoom dungeonRoom;
public ActionRoute(DungeonRoom dungeonRoom, String mechanic, String state) {
this.mechanic = mechanic;
@@ -62,10 +62,12 @@ public class ActionRoute {
}
public void onRenderWorld(float partialTicks) {
getCurrentAction().onRenderWorld(dungeonRoom, partialTicks);
- };
+ }
+
public void onRenderScreen(float partialTicks) {
getCurrentAction().onRenderScreen(dungeonRoom, partialTicks);
- };
+ }
+
public void onTick() {
Action current = getCurrentAction();