IPlayer Expansion
ZenGetters
You can call these by player.getter
, player is an IPlayer instance.
temperature
int
Returns player's temperature.
thirst
int
Returns player's thirst level.
thirstSaturation
float
Returns player's thirst saturation.
isThirsty
bool
Returns true if player is thirsty.
ZenSetters
You can call these by player.setter = value
, player is an IPlayer instance.
temperature
int
Sets player's temperature.
thirst
int
Sets player's thirst level.
thirstSaturation
float
Sets player's thirst saturation.
ZenMethods
You can call these by player.method(parameters)
, player is an IPlayer instance.
int getTemperature()
Returns player's temperature.
int getThirst()
Returns player's thirst level.
float getThirstSaturation()
Returns player's thirst saturation.
bool isThirsty()
Returns true if player is thirsty.
void setTemperature(int temperature)
Sets player's temperature.
void setThirst(int thirst)
Sets player's thirst level.
void setThirstSaturation(float saturation)
Sets player's thirst saturation.
Last updated