Package org.dreambot.api.methods.event
Class CameraEvent
- java.lang.Object
-
- org.dreambot.api.methods.event.CameraEvent
-
- All Implemented Interfaces:
java.lang.Runnable
public class CameraEvent extends java.lang.Object implements java.lang.Runnable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCameraEvent.CameraType
-
Constructor Summary
Constructors Constructor Description CameraEvent(int yaw, int pitch)CameraEvent(int yaw, int pitch, boolean useMouse)CameraEvent(CameraEvent.CameraType t, int val)CameraEvent(CameraEvent.CameraType t, int val, boolean useMouse)CameraEvent(Tile tile)CameraEvent(Tile tile, boolean useMouse)CameraEvent(Entity entity)CameraEvent(Entity entity, boolean useMouse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasFinished()voidrun()booleanstart()CameraEventwithInterrupt(Condition interrupt)
-
-
-
Constructor Detail
-
CameraEvent
public CameraEvent(Entity entity)
-
CameraEvent
public CameraEvent(Entity entity, boolean useMouse)
-
CameraEvent
public CameraEvent(int yaw, int pitch)
-
CameraEvent
public CameraEvent(int yaw, int pitch, boolean useMouse)
-
CameraEvent
public CameraEvent(CameraEvent.CameraType t, int val)
-
CameraEvent
public CameraEvent(CameraEvent.CameraType t, int val, boolean useMouse)
-
CameraEvent
public CameraEvent(Tile tile)
-
CameraEvent
public CameraEvent(Tile tile, boolean useMouse)
-
-
Method Detail
-
withInterrupt
public CameraEvent withInterrupt(Condition interrupt)
-
hasFinished
public boolean hasFinished()
-
start
public boolean start()
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
-