aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonPlayer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonPlayer.java')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonPlayer.java60
1 files changed, 33 insertions, 27 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonPlayer.java b/src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonPlayer.java
index e34424d..2326090 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonPlayer.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonPlayer.java
@@ -1,31 +1,37 @@
package com.thatgravyboat.skyblockhud.dungeons;
public class DungeonPlayer {
- private final Classes dungeonClass;
- private final String name;
- private final int health;
- private final boolean dead;
-
- public DungeonPlayer(Classes playersClass, String playersName, int playersHealth, boolean isDead) {
- this.dungeonClass = playersClass;
- this.name = playersName;
- this.health = isDead ? 0 : playersHealth;
- this.dead = isDead;
- }
-
- public Classes getDungeonClass() {
- return this.dungeonClass;
- }
-
- public String getName() {
- return this.name;
- }
-
- public int getHealth() {
- return this.dead ? 0 : this.health;
- }
-
- public boolean isDead() {
- return this.dead;
- }
+
+ private final Classes dungeonClass;
+ private final String name;
+ private final int health;
+ private final boolean dead;
+
+ public DungeonPlayer(
+ Classes playersClass,
+ String playersName,
+ int playersHealth,
+ boolean isDead
+ ) {
+ this.dungeonClass = playersClass;
+ this.name = playersName;
+ this.health = isDead ? 0 : playersHealth;
+ this.dead = isDead;
+ }
+
+ public Classes getDungeonClass() {
+ return this.dungeonClass;
+ }
+
+ public String getName() {
+ return this.name;
+ }
+
+ public int getHealth() {
+ return this.dead ? 0 : this.health;
+ }
+
+ public boolean isDead() {
+ return this.dead;
+ }
}