Package net.runelite.api
Interface GameEngine
-
- All Known Subinterfaces:
Client
public interface GameEngine
Represents the client game engine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Canvas
getCanvas()
Gets the canvas that contains everything.Thread
getClientThread()
Gets the client main thread.boolean
isClientThread()
Checks whether this code is executing on the client main thread.void
resizeCanvas()
-
-
-
Method Detail
-
getCanvas
Canvas getCanvas()
Gets the canvas that contains everything.- Returns:
- the game canvas
-
getClientThread
Thread getClientThread()
Gets the client main thread.- Returns:
- the main thread
-
isClientThread
boolean isClientThread()
Checks whether this code is executing on the client main thread.- Returns:
- true if on the main thread, false otherwise
-
resizeCanvas
void resizeCanvas()
-
-