Entity class

Constructors

Entity.new(Transform transform)

Properties

children List<Entity>
getter/setter pair
components List<Component>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
parent Entity
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toDestroy List<Entity>
getter/setter pair
transform Transform
getter/setter pair

Methods

addChild(Entity child) Entity
addComponent(Component component) Entity
init() → void
markForDestruction() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(Screen screen) → void
renderAll(Screen screen) → void
setParent(Entity parent) → void
toString() String
A string representation of this object.
inherited
update(Input input) → void
updateAll(Input input) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited