GameListening

open class GameListening

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

Constructors

Link copied to clipboard
constructor()

Functions

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