Package net.runelite.api
Interface GameEngine
-
- All Known Subinterfaces:
Client
public interface GameEngineRepresents the client game engine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CanvasgetCanvas()Gets the canvas that contains everything.ThreadgetClientThread()Gets the client main thread.voidinitialize()booleanisClientThread()Checks whether this code is executing on the client main thread.voidresizeCanvas()voidsetConfiguration(ClientConfiguration configuration)voidunblockStartup()Releases the startup block if "runelite.delaystart" is set true
-
-
-
Method Detail
-
setConfiguration
void setConfiguration(ClientConfiguration configuration)
-
initialize
void initialize()
-
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()
-
unblockStartup
void unblockStartup()
Releases the startup block if "runelite.delaystart" is set true
-
-