public class IslandWorthUpdateEvent extends IslandEvent
island
Constructor and Description |
---|
IslandWorthUpdateEvent(Island island,
java.math.BigDecimal oldWorth,
java.math.BigDecimal oldLevel,
java.math.BigDecimal newWorth,
java.math.BigDecimal newLevel)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getNewLevel()
Get the new level of the island.
|
java.math.BigDecimal |
getNewWorth()
Get the new worth of the island.
|
java.math.BigDecimal |
getOldLevel()
Get the old level of the island.
|
java.math.BigDecimal |
getOldWorth()
Get the old worth of the island.
|
getHandlerList, getHandlers, getIsland
public IslandWorthUpdateEvent(Island island, java.math.BigDecimal oldWorth, java.math.BigDecimal oldLevel, java.math.BigDecimal newWorth, java.math.BigDecimal newLevel)
island
- The island that the leadership of it is transferred.oldWorth
- The old worth of the island.oldLevel
- The old level of the island.newWorth
- The new worth of the island.newLevel
- The new level of the island.public java.math.BigDecimal getOldWorth()
public java.math.BigDecimal getOldLevel()
public java.math.BigDecimal getNewWorth()
public java.math.BigDecimal getNewLevel()