public interface IPixelmonBankAccount
Modifier and Type | Method and Description |
---|---|
int |
changeMoney(int change)
Changes the currency by the given amount.
|
int |
getMoney()
Gets the current amount of money in the account.
|
java.util.UUID |
getOwnerUUID()
Gets the account owner's UUID, typically a player's UUID.
|
void |
setMoney(int amount)
Sets the account's balance to the given amount.
|
default void |
updatePlayer()
Updates the player's client as to the amount of money that should show in GUIs.
|
default void |
updatePlayer(int amount)
Updates the player's client as to the amount of money that should show in GUIs.
|
int getMoney()
void setMoney(int amount)
int changeMoney(int change)
updatePlayer(int)
afterwards.java.util.UUID getOwnerUUID()
default void updatePlayer(int amount)
default void updatePlayer()
getMoney()
for the amount.