public class IslandWorthCalculatedEvent extends IslandEvent
island
Constructor and Description |
---|
IslandWorthCalculatedEvent(Island island,
SuperiorPlayer player,
java.math.BigDecimal level,
java.math.BigDecimal worth)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getLevel()
Get the new level of the island.
|
SuperiorPlayer |
getPlayer()
Get the player who requested the operation.
|
java.math.BigDecimal |
getWorth()
Get the new worth value of the island.
|
getHandlerList, getHandlers, getIsland
public IslandWorthCalculatedEvent(Island island, SuperiorPlayer player, java.math.BigDecimal level, java.math.BigDecimal worth)
island
- The island that it's worth was calculated.player
- The player who requested the operation (may be null).level
- The new level of the island.worth
- The new worth value of the island.@Nullable public SuperiorPlayer getPlayer()
public java.math.BigDecimal getLevel()
public java.math.BigDecimal getWorth()