public class IslandKickEvent extends IslandEvent
island
Constructor and Description |
---|
IslandKickEvent(SuperiorPlayer superiorPlayer,
SuperiorPlayer targetPlayer,
Island island)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
SuperiorPlayer |
getPlayer()
Get the player who kicked the other player.
|
SuperiorPlayer |
getTarget()
Get the player that was kicked.
|
getHandlerList, getHandlers, getIsland
public IslandKickEvent(SuperiorPlayer superiorPlayer, SuperiorPlayer targetPlayer, Island island)
superiorPlayer
- The player who kicked the other player. If null, it means console kicked the player.targetPlayer
- The player that was kicked.island
- The island that the player was kicked from.public SuperiorPlayer getPlayer()
public SuperiorPlayer getTarget()