[ view source ]
class Systems
package ceramic
extends Entity
@:directlyUsed@:build(ceramic.macros.EntityMacro.buildForCompletion())@:autoBuild(ceramic.macros.EntityMacro.buildForCompletion())@:build(tracker.macros.EventsMacro.build())@:autoBuild(tracker.macros.EventsMacro.build())@:allow(ceramic.App)Available on all targets
Methods
Inherited Events
Inherited Variables
Defined by Entity
@editablecomponents:ReadOnlyMap<String, Component>
Public components mapping. Contain components
created separately with component()
or macro-based components as well.
Inherited Methods
Defined by Entity
destroy():Void
Destroy this entity. This method is automatically protected from duplicate calls. That means
calling multiple times an entity's destroy()
method will run the destroy code only one time.
As soon as destroy()
is called, the entity is marked destroyed=true
, even when calling destroy()
method on a subclass (a macro is inserting a code to mark the object
as destroyed at the beginning of every destroy()
override function.
autorun(run:() ‑> Void, ?afterRun:() ‑> Void):Autorun
Creates a new Autorun
instance with the given callback associated with the current entity.
Parameters:
run | The run callback |
---|
Returns:
The autorun instance