public static class IslandCreationAlgorithm.IslandCreationResult
extends java.lang.Object
Constructor and Description |
---|
IslandCreationResult(Island island,
org.bukkit.Location islandLocation,
boolean shouldTeleportPlayer)
Constructor of the result.
|
Modifier and Type | Method and Description |
---|---|
Island |
getIsland()
Get the created island object.
|
org.bukkit.Location |
getIslandLocation()
Get the location of the new island.
|
boolean |
shouldTeleportPlayer()
Get whether the player that created the island should be teleported to it.
|
public IslandCreationResult(Island island, org.bukkit.Location islandLocation, boolean shouldTeleportPlayer)
island
- The created island.islandLocation
- The location of the island.shouldTeleportPlayer
- Whether to teleport the player to his island or not.public Island getIsland()
public org.bukkit.Location getIslandLocation()
public boolean shouldTeleportPlayer()