public class WauzPlayerDataSectionStats
extends java.lang.Object
WauzPlayerData
Modifier and Type | Field and Description |
---|---|
private WauzPlayerEffects |
effects
The active status effects on the player.
|
private int |
health
The current health of the player.
|
private byte |
heat
The temperature of the player.
|
private byte |
heatRandomizer
The temperature display randomizer of the player.
|
private int |
mana
The current mana of the player.
|
private int |
maxHealth
The maximum health of the player.
|
private int |
maxMana
The maximum mana of the player.
|
private int |
maxRage
The maximum rage of the player.
|
private WauzPlayerData |
playerData
The player data the section belongs to.
|
private int |
rage
The current rage of the player.
|
Constructor and Description |
---|
WauzPlayerDataSectionStats(WauzPlayerData playerData)
Constructs a new instance of the section.
|
Modifier and Type | Method and Description |
---|---|
WauzPlayerEffects |
getEffects() |
int |
getHealth() |
byte |
getHeat() |
byte |
getHeatRandomizer() |
int |
getMana() |
int |
getMaxHealth() |
int |
getMaxMana() |
int |
getMaxRage() |
WauzPlayerData |
getPlayerData() |
int |
getRage() |
void |
setHealth(int health) |
void |
setHeat(byte heat) |
void |
setHeatRandomizer(byte heatRandomizer) |
void |
setMana(int mana) |
void |
setMaxHealth(int maxHealth) |
void |
setMaxMana(int maxMana) |
void |
setMaxRage(int maxRage) |
void |
setRage(int rage) |
private final WauzPlayerData playerData
private final WauzPlayerEffects effects
private byte heat
private byte heatRandomizer
private int health
private int maxHealth
private int mana
private int maxMana
private int rage
private int maxRage
public WauzPlayerDataSectionStats(WauzPlayerData playerData)
playerData
- The player data the section belongs to.public WauzPlayerEffects getEffects()
public WauzPlayerData getPlayerData()
public byte getHeat()
public void setHeat(byte heat)
heat
- The new temperature of the player.public byte getHeatRandomizer()
public void setHeatRandomizer(byte heatRandomizer)
heatRandomizer
- The new temperature display randomizer of the player.public int getHealth()
public void setHealth(int health)
health
- The new current health of the player.public int getMaxHealth()
public void setMaxHealth(int maxHealth)
maxHealth
- The new maximum health of the player.public int getMana()
public void setMana(int mana)
mana
- The new current mana of the player.public int getMaxMana()
public void setMaxMana(int maxMana)
maxMana
- The new maximum mana of the player.public int getRage()
public void setRage(int rage)
rage
- The new current rage of the player.public int getMaxRage()
public void setMaxRage(int maxRage)
maxRage
- The new maximum rage of the player.