public class TARDISArtronLevels
extends java.lang.Object
Constructor and Description |
---|
TARDISArtronLevels(TARDIS plugin) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkLevel(int id,
int required,
org.bukkit.entity.Player p)
Checks whether the TARDIS has sufficient Artron Energy levels.
|
void |
recharge(int id)
Starts a repeating task to recharge the TARDIS.
|
public TARDISArtronLevels(TARDIS plugin)
public void recharge(int id)
id
- the unique TARDIS database keypublic boolean checkLevel(int id, int required, org.bukkit.entity.Player p)
id
- the unique TARDIS database keyrequired
- the amount of Artron energy neededp
- the player to message