public class ContinualClickMouseEvent extends MouseEvent
Event.EventMode, Event.EventStatusbank, 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 |
|---|
ContinualClickMouseEvent(MouseDestination destination,
boolean rightClick,
Condition condition)
Creates a new mouse click event which will hold its click until the
condition evaluates the true.
|
ContinualClickMouseEvent(MouseDestination destination,
Condition condition)
Creates a new left mouse click event which will hold its click until the
condition evaluates the true.
|
| Modifier and Type | Method and Description |
|---|---|
int |
execute()
This is the execution method.
|
updateDestinationaddChild, exchangeContext, getChildren, getMode, getParent, getStatus, hasFailed, hasFinished, interrupt, isQueued, isWorking, onEnd, onStart, removeChild, setAsync, setBlocking, setFailed, setFinished, setParentexecute, 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, warnpublic ContinualClickMouseEvent(MouseDestination destination, Condition condition)
destination - The destination.condition - The condition which as long as it evaluates to false will hold
the mouse click.public ContinualClickMouseEvent(MouseDestination destination, boolean rightClick, Condition condition)
destination - The destination.condition - The condition which as long as it evaluates to false will hold
the mouse click.rightClick - Whether to use the right mouse button to click.public int execute()
throws java.lang.InterruptedException
EventonLoop() in OSBot v1.