plugin.BasePlugin
class BasePlugin
a base Object class for plugin (plugin must be installed using the register function)
Constructor
new plugin.BasePlugin(app: Application) → {}
Name | Type | Attributes | Description |
---|---|---|---|
app | Application |
<optional> |
a reference to the app/game that registered this plugin |
Public Properties
app: Application
Application
a reference to the app/game that registered this plugin
version: string = "__VERSION__"
string
define the minimum required version of melonJS
this can be overridden by the plugin