WorldEntity class final
Represents an entity with components in the ECS/World system. Manages dependencies and allows retrieval of a specific component.
Properties
Methods
-
getComponent<
T extends Object> () → Option< T> -
Retrieves the component of type
T
associated with this entity. -
getEntity(
) → Entity - Returns the entity itself.
-
isDefault(
) → bool -
inherited
-
isNotDefault(
) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
preferOverDefault(
Entity other) → Entity -
Returns
other
ifthis
is DefaultEntity, otherwise returnsthis
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited