public class DoorHandler extends API
bank, bot, camera, chatbox, client, colorPicker, combat, configs, depositBox, dialogues, diaries, display, doorHandler, equipment, experienceTracker, favour, grandExchange, graphicObjects, groundItems, hintArrow, inventory, keyboard, logger, logoutTab, magic, map, menu, mouse, npcs, objects, players, prayer, projectiles, quests, settings, skills, store, tabs, trade, walking, widgets, worlds
Constructor and Description |
---|
DoorHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canReachOrOpen(Entity e) |
boolean |
canReachOrOpen(Position p) |
java.util.List<Position> |
generatePath(Entity e) |
java.util.List<Position> |
generatePath(Position p) |
RS2Object |
getNextObstacle(Entity e) |
RS2Object |
getNextObstacle(Position p) |
java.util.List<RS2Object> |
getObstacles() |
boolean |
handleNextObstacle(Area area)
Tries to walk to a position of the given area that is not accessible because of for example
gates or doors that are closed, opening the obstacles.
|
boolean |
handleNextObstacle(Entity e) |
boolean |
handleNextObstacle(Position p) |
void |
initializeModule() |
exchangeContext, execute, getBank, getBot, getCamera, getChatbox, getClient, getColorPicker, getCombat, getConfigs, getDepositBox, getDialogues, getDiaries, getDisplay, getDoorHandler, getEquipment, getExperienceTracker, getFavour, getGrandExchange, getGraphicObjects, getGroundItems, getHintArrow, getInventory, getKeyboard, getLogoutTab, getMagic, getMap, getMenuAPI, getMouse, getNpcs, getObjects, getPlayers, getPrayer, getProjectiles, getQuests, getSettings, getSkills, getStore, getTabs, getTrade, getWalking, getWidgets, getWorlds, gRandom, gRandom, gRandom, initializeContext, log, log, myPlayer, myPosition, random, random, sleep, stripFormatting, warn
public boolean handleNextObstacle(Position p)
public boolean handleNextObstacle(Entity e)
public boolean handleNextObstacle(Area area)
area
- The area.public java.util.List<RS2Object> getObstacles()
public boolean canReachOrOpen(Position p)
public boolean canReachOrOpen(Entity e)
public void initializeModule()
initializeModule
in class API