[ view source ]
class AudioMixer
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())Available on all targets
Variables
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