GameListening

public class GameListening

Contains listeners for game events. These are scoped to the script and are removed when it ends.

Functions

addGameTickListener
Link copied to clipboard
static void addGameTickListener(Runnable listener)
Adds a listener that will run when a game server tick processes
removeGameTickListener
Link copied to clipboard
static void removeGameTickListener(Runnable listener)
Removes a game tick listener