public class ResultSetDoorBlocks
extends java.lang.Object
Constructor and Description |
---|
ResultSetDoorBlocks(TARDIS plugin,
int id)
Creates a class instance that can be used to retrieve an SQL ResultSet from the current locations table.
|
Modifier and Type | Method and Description |
---|---|
org.bukkit.block.Block |
getInnerBlock() |
COMPASS |
getInnerDirection() |
org.bukkit.block.Block |
getOuterBlock() |
COMPASS |
getOuterDirection() |
boolean |
resultSet()
Retrieves door from the doors table.
|
public ResultSetDoorBlocks(TARDIS plugin, int id)
plugin
- an instance of the main class.id
- the TARDIS id to get the doors for.public boolean resultSet()
public org.bukkit.block.Block getInnerBlock()
public org.bukkit.block.Block getOuterBlock()
public COMPASS getInnerDirection()
public COMPASS getOuterDirection()