public class MoveMouseEvent extends MouseEvent
Modifier and Type | Class and Description |
---|---|
static class |
MoveMouseEvent.Vector |
Event.EventMode, Event.EventStatus
Modifier and Type | Field and Description |
---|---|
static boolean |
useNewMouse |
static boolean |
useSystemMouse |
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 |
---|
MoveMouseEvent(Entity e) |
MoveMouseEvent(MouseDestination destination)
Creates an instance of this event which moves the mouse to the given
destination, with dragging set to false.
|
MoveMouseEvent(MouseDestination destination,
boolean drag)
Creates an instance of this event which moves the mouse to the given
destination, dragging as specified.
|
MoveMouseEvent(RS2Widget widget) |
Modifier and Type | Method and Description |
---|---|
int |
execute()
This is the execution method.
|
static boolean |
isNewMouse()
Checks if the new mouse option is enabled
|
void |
setIgnoreVisibility(boolean ignoreVisibility) |
updateDestination
addChild, exchangeContext, getChildren, getMode, getParent, getStatus, hasFailed, hasFinished, interrupt, isQueued, isWorking, onEnd, onStart, removeChild, setAsync, setBlocking, setFailed, setFinished, setParent
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 static boolean useSystemMouse
public static boolean useNewMouse
public MoveMouseEvent(MouseDestination destination)
destination
- The mouse destination.public MoveMouseEvent(MouseDestination destination, boolean drag)
destination
- The mouse destination.drag
- Whether to drag the mouse.public MoveMouseEvent(Entity e)
public MoveMouseEvent(RS2Widget widget)
public void setIgnoreVisibility(boolean ignoreVisibility)
public static boolean isNewMouse()
public int execute() throws java.lang.InterruptedException
Event
onLoop()
in OSBot v1.