public class TARDISRescue
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TARDISRescue.RescueData |
Constructor and Description |
---|
TARDISRescue(TARDIS plugin) |
Modifier and Type | Method and Description |
---|---|
boolean |
rescue(org.bukkit.entity.Player player,
java.util.UUID saved,
int id,
COMPASS d,
boolean rescue,
boolean request)
Move the Police Box to a player's location, and potentially rescue the player.
|
TARDISRescue.RescueData |
tryRescue(org.bukkit.entity.Player player,
java.util.UUID saved,
boolean request)
Check whether a Time Lord can rescue a player, and then rescue them.
|
public TARDISRescue(TARDIS plugin)
public boolean rescue(org.bukkit.entity.Player player, java.util.UUID saved, int id, COMPASS d, boolean rescue, boolean request)
player
- The Time Lordsaved
- The player to be rescuedid
- The TARDIS unique IDd
- the direction the Police Box is facingrescue
- whether to rescue the playerrequest
- whether this is a travel to player requestpublic TARDISRescue.RescueData tryRescue(org.bukkit.entity.Player player, java.util.UUID saved, boolean request)
player
- The Time Lordsaved
- The player to be rescuedrequest
- whether this is a travel to player request