WorldEntity<Y extends Object> class final

Represents an entity with components in the ECS/World system. Manages dependencies and allows retrieval of a specific component.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → Y
The value associated with this Entity instance.
finalinherited
world World
final

Methods

getComponent<T extends Object>() → T
Retrieves the component of type T associated with this entity.
getEntity() Entity<Y>
Returns the entity itself.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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