Methods
init
init((self: T, context: Context) -> boolean)
Called once when the node is created. Returns true if initialization
succeeds.
For a more complete example using init, see Instantiating Components.
advance
advance((self: T, seconds: number) -> boolean)
Optional per-frame update. Returns true if the node should continue
receiving advance calls.
For a more complete example using advance, see Fixed-step Advanced.