|
RuneHive-Game
|
Holds all the teleport tablet data. More...
Public Member Functions | |
| int | getItem () |
| Gets the item identification of the tablet. | |
| Position | getPosition () |
| Gets the position of the teleport tablet. | |
| TeleportTablet (int item, Position position) | |
| The teleport tablet data. | |
Static Public Member Functions | |
| static Optional< TeleportTablet > | forId (int id) |
| Gets the teleport tablet data based on the item identification. | |
Public Attributes | |
| ARDOUGNE_TABLET =(8011, new Position(2661, 3305, 0)) | |
| CAMELOT_TABLET =(8010, new Position(2757, 3477, 0)) | |
| FALADOR_TABLET =(8009, new Position(2965, 3379, 0)) | |
| HOME_TABLET =(8013, Config.DEFAULT_POSITION) | |
| LUMBRIDGE_TABLET =(8008, new Position(3222, 3218, 0)) | |
| RIMMINGTON_TABLET =(8007, new Position(3159, 3485, 0)) | |
| VARROCK_TABLET =(8007, new Position(3213, 3424, 0)) | |
| WATCHTOWER_TABLET =(8012, new Position(2549, 3112, 0)) | |
Private Attributes | |
| final int | item |
| The item identification of the tablet. | |
| final Position | position |
| The position which the tablet will teleport the player. | |
Holds all the teleport tablet data.
Definition at line 14 of file TeleportTablet.java.
| com.runehive.content.teleport.TeleportTablet.TeleportTablet | ( | int | item, |
| Position | position ) |
The teleport tablet data.
| item | The item identification of the tablet. |
| position | The teleport position of the tablet. |
Definition at line 38 of file TeleportTablet.java.
|
static |
Gets the teleport tablet data based on the item identification.
| id | The item identification. |
Definition at line 68 of file TeleportTablet.java.
| int com.runehive.content.teleport.TeleportTablet.getItem | ( | ) |
Gets the item identification of the tablet.
Definition at line 48 of file TeleportTablet.java.
References item.
| Position com.runehive.content.teleport.TeleportTablet.getPosition | ( | ) |
Gets the position of the teleport tablet.
Definition at line 57 of file TeleportTablet.java.
References position.
| com.runehive.content.teleport.TeleportTablet.ARDOUGNE_TABLET =(8011, new Position(2661, 3305, 0)) |
Definition at line 19 of file TeleportTablet.java.
| com.runehive.content.teleport.TeleportTablet.CAMELOT_TABLET =(8010, new Position(2757, 3477, 0)) |
Definition at line 18 of file TeleportTablet.java.
| com.runehive.content.teleport.TeleportTablet.FALADOR_TABLET =(8009, new Position(2965, 3379, 0)) |
Definition at line 17 of file TeleportTablet.java.
| com.runehive.content.teleport.TeleportTablet.HOME_TABLET =(8013, Config.DEFAULT_POSITION) |
Definition at line 21 of file TeleportTablet.java.
|
private |
The item identification of the tablet.
Definition at line 25 of file TeleportTablet.java.
Referenced by getItem(), and TeleportTablet().
| com.runehive.content.teleport.TeleportTablet.LUMBRIDGE_TABLET =(8008, new Position(3222, 3218, 0)) |
Definition at line 16 of file TeleportTablet.java.
|
private |
The position which the tablet will teleport the player.
Definition at line 28 of file TeleportTablet.java.
Referenced by getPosition(), and TeleportTablet().
| com.runehive.content.teleport.TeleportTablet.RIMMINGTON_TABLET =(8007, new Position(3159, 3485, 0)) |
Definition at line 22 of file TeleportTablet.java.
| com.runehive.content.teleport.TeleportTablet.VARROCK_TABLET =(8007, new Position(3213, 3424, 0)) |
Definition at line 15 of file TeleportTablet.java.
| com.runehive.content.teleport.TeleportTablet.WATCHTOWER_TABLET =(8012, new Position(2549, 3112, 0)) |
Definition at line 20 of file TeleportTablet.java.