Enum Bank.Location
- java.lang.Object
-
- java.lang.Enum<Bank.Location>
-
- org.rspeer.game.adapter.component.inventory.Bank.Location
-
- All Implemented Interfaces:
Serializable
,Comparable<Bank.Location>
- Enclosing class:
- Bank
public static enum Bank.Location extends Enum<Bank.Location>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Bank.Location.Type
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAction()
BooleanSupplier
getCondition()
String
getName()
static Bank.Location
getNearest()
static Bank.Location
getNearest(Predicate<Bank.Location> predicate)
static Bank.Location
getNearestBooth()
static Bank.Location
getNearestChest()
static Bank.Location
getNearestDepositBox()
static Bank.Location
getNearestNpc()
static Bank.Location
getNearestTo(Predicate<Bank.Location> predicate, SceneNode to)
static Bank.Location
getNearestTo(SceneNode to)
static Bank.Location
getNearestWithdrawable()
Position
getPosition()
Bank.Location.Type
getType()
static List<Bank.Location>
getValidLocations()
static Bank.Location
valueOf(String name)
Returns the enum constant of this type with the specified name.static Bank.Location[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LUMBRIDGE_CASTLE
public static final Bank.Location LUMBRIDGE_CASTLE
-
FALADOR_WEST
public static final Bank.Location FALADOR_WEST
-
FALADOR_EAST
public static final Bank.Location FALADOR_EAST
-
VARROCK_WEST
public static final Bank.Location VARROCK_WEST
-
VARROCK_EAST
public static final Bank.Location VARROCK_EAST
-
ARDOUGNE_NORTH
public static final Bank.Location ARDOUGNE_NORTH
-
ARDOUGNE_SOUTH
public static final Bank.Location ARDOUGNE_SOUTH
-
EDGEVILLE
public static final Bank.Location EDGEVILLE
-
DRAYNOR
public static final Bank.Location DRAYNOR
-
AL_KHARID
public static final Bank.Location AL_KHARID
-
SEERS_VILLAGE
public static final Bank.Location SEERS_VILLAGE
-
CATHERBY
public static final Bank.Location CATHERBY
-
YANILLE
public static final Bank.Location YANILLE
-
FISHING_GUILD
public static final Bank.Location FISHING_GUILD
-
MINING_GUILD
public static final Bank.Location MINING_GUILD
-
WOODCUTTING_GUILD
public static final Bank.Location WOODCUTTING_GUILD
-
FARMING_GUILD
public static final Bank.Location FARMING_GUILD
-
GRAND_EXCHANGE
public static final Bank.Location GRAND_EXCHANGE
-
LOVAKENGJ_HOUSE
public static final Bank.Location LOVAKENGJ_HOUSE
-
HOSIDIUS_HOUSE
public static final Bank.Location HOSIDIUS_HOUSE
-
SHAYZIEN_HOUSE
public static final Bank.Location SHAYZIEN_HOUSE
-
ARCEUUS_HOUSE
public static final Bank.Location ARCEUUS_HOUSE
-
PISCARILIUS_HOUSE
public static final Bank.Location PISCARILIUS_HOUSE
-
LLETYA
public static final Bank.Location LLETYA
-
MOTHERLODE_MINE
public static final Bank.Location MOTHERLODE_MINE
-
ZANARIS
public static final Bank.Location ZANARIS
-
KOUREND_CASTLE
public static final Bank.Location KOUREND_CASTLE
-
CRAFTING_GUILD
public static final Bank.Location CRAFTING_GUILD
-
PRIFF_NORTH
public static final Bank.Location PRIFF_NORTH
-
PRIFF_SOUTH
public static final Bank.Location PRIFF_SOUTH
-
SOPHANEM
public static final Bank.Location SOPHANEM
-
GNOME_STRONGHOLD
public static final Bank.Location GNOME_STRONGHOLD
-
GNOME_STRONGHOLD_WEST
public static final Bank.Location GNOME_STRONGHOLD_WEST
-
GNOME_STRONGHOLD_SOUTH
public static final Bank.Location GNOME_STRONGHOLD_SOUTH
-
CORSAIR_COVE
public static final Bank.Location CORSAIR_COVE
-
SHILO_VILLAGE
public static final Bank.Location SHILO_VILLAGE
-
HOSIDIUS_VINERY
public static final Bank.Location HOSIDIUS_VINERY
-
HOSIDIUS_MESS
public static final Bank.Location HOSIDIUS_MESS
-
PORT_KHAZARD
public static final Bank.Location PORT_KHAZARD
-
ZEAH_SHORE
public static final Bank.Location ZEAH_SHORE
-
SHANTAY_PASS
public static final Bank.Location SHANTAY_PASS
-
CASTLE_WARS
public static final Bank.Location CASTLE_WARS
-
WINTERTODT
public static final Bank.Location WINTERTODT
-
BARBARIAN_ASSAULT
public static final Bank.Location BARBARIAN_ASSAULT
-
BLAST_FURNACE
public static final Bank.Location BLAST_FURNACE
-
FEROX_ENCLAVE
public static final Bank.Location FEROX_ENCLAVE
-
CHAMBERS_OF_XERIC
public static final Bank.Location CHAMBERS_OF_XERIC
-
SEPULCHRE_WEST
public static final Bank.Location SEPULCHRE_WEST
-
SEPULCHRE_EAST
public static final Bank.Location SEPULCHRE_EAST
-
MOUNT_KARUULM
public static final Bank.Location MOUNT_KARUULM
-
DUEL_ARENA
public static final Bank.Location DUEL_ARENA
-
CAMELOT_PVP
public static final Bank.Location CAMELOT_PVP
-
LUMBRIDGE_PVP
public static final Bank.Location LUMBRIDGE_PVP
-
EDGEVILLE_PVP
public static final Bank.Location EDGEVILLE_PVP
-
FALADOR_PVP
public static final Bank.Location FALADOR_PVP
-
MISCELLANIA
public static final Bank.Location MISCELLANIA
-
FIGHT_CAVES
public static final Bank.Location FIGHT_CAVES
-
BURTHORPE
public static final Bank.Location BURTHORPE
-
SHILO_VILLAGE_DB
public static final Bank.Location SHILO_VILLAGE_DB
There's a naming conflict with bank and deposit box location ,as a quick fix I just added "_DB" to the deposit box constant name
-
SHILO_VILLAGE_GEM_MINE_DB
public static final Bank.Location SHILO_VILLAGE_GEM_MINE_DB
-
MINING_GUILD_DB
public static final Bank.Location MINING_GUILD_DB
-
FARMING_GUILD_DB
public static final Bank.Location FARMING_GUILD_DB
-
CATHERBY_DB
public static final Bank.Location CATHERBY_DB
-
YANILLE_DB
public static final Bank.Location YANILLE_DB
-
EDGEVILLE_DB
public static final Bank.Location EDGEVILLE_DB
-
PORT_SARIM_DB
public static final Bank.Location PORT_SARIM_DB
-
VARROCK_WEST_DB
public static final Bank.Location VARROCK_WEST_DB
-
FALADOR_EAST_DB
public static final Bank.Location FALADOR_EAST_DB
-
FALADOR_WEST_DB
public static final Bank.Location FALADOR_WEST_DB
-
SEERS_VILLAGE_DB
public static final Bank.Location SEERS_VILLAGE_DB
-
ARDOUGNE_NORTH_DB
public static final Bank.Location ARDOUGNE_NORTH_DB
-
ARDOUGNE_SOUTH_DB
public static final Bank.Location ARDOUGNE_SOUTH_DB
-
DRAYNOR_VILLAGE_DB
public static final Bank.Location DRAYNOR_VILLAGE_DB
-
LUMBRIDGE_TOP_DB
public static final Bank.Location LUMBRIDGE_TOP_DB
-
KHAZARD_DB
public static final Bank.Location KHAZARD_DB
-
CHAMBERS_OF_XERIC_DB
public static final Bank.Location CHAMBERS_OF_XERIC_DB
-
MOUNT_KARUULM_DB
public static final Bank.Location MOUNT_KARUULM_DB
-
BLAST_FURNACE_DB
public static final Bank.Location BLAST_FURNACE_DB
-
JATIZSO
public static final Bank.Location JATIZSO
-
NEITIZNOT
public static final Bank.Location NEITIZNOT
-
CANIFIS
public static final Bank.Location CANIFIS
-
BURGH_DE_ROTT_BANK
public static final Bank.Location BURGH_DE_ROTT_BANK
-
VER_SINHAZA_BANK
public static final Bank.Location VER_SINHAZA_BANK
-
PORT_PHASMATYS_BANK
public static final Bank.Location PORT_PHASMATYS_BANK
-
BLAST_MINE_SOUTH_EAST
public static final Bank.Location BLAST_MINE_SOUTH_EAST
-
BLAST_MINE_SOUTH_WEST
public static final Bank.Location BLAST_MINE_SOUTH_WEST
-
BLAST_MINE_NORTH_EAST
public static final Bank.Location BLAST_MINE_NORTH_EAST
-
BLAST_MINE_NORTH_WEST
public static final Bank.Location BLAST_MINE_NORTH_WEST
-
-
Method Detail
-
values
public static Bank.Location[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Bank.Location c : Bank.Location.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Bank.Location valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNearestTo
public static Bank.Location getNearestTo(SceneNode to)
-
getNearestTo
public static Bank.Location getNearestTo(Predicate<Bank.Location> predicate, SceneNode to)
-
getNearest
public static Bank.Location getNearest(Predicate<Bank.Location> predicate)
-
getNearestWithdrawable
public static Bank.Location getNearestWithdrawable()
-
getNearestDepositBox
public static Bank.Location getNearestDepositBox()
-
getNearestChest
public static Bank.Location getNearestChest()
-
getNearestBooth
public static Bank.Location getNearestBooth()
-
getNearestNpc
public static Bank.Location getNearestNpc()
-
getNearest
public static Bank.Location getNearest()
-
getValidLocations
public static List<Bank.Location> getValidLocations()
-
getPosition
public Position getPosition()
-
getType
public Bank.Location.Type getType()
-
getName
public String getName()
-
getAction
public String getAction()
-
getCondition
public BooleanSupplier getCondition()
-
-