This is an old revision of the document!
Module that wraps the native App class. Derived classes like ClientApp may also augment the module with their variables and functions.
gamePlugin ( )
Returns the identifier of the currently loaded game plugin. The return value is text, for instance for libdoom:
An array of functions that will be called whenever the game changes. Note that this is also called when the game is unloaded. The identity key of the loaded game mode is provided as an argument to the functions.
print "Game is now:", newGame
end App.audienceForGameChange += [gameHasChanged]