Component<T> class
abstract
A Component is a way to store data for an Entity.
It does not define any kind of behaviour because that is handled by the systems.
- Inheritance
-
- Object
- PoolObject<
T> - Component
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
Release this object back into the pool.
inherited
-
init(
[T? data]) → void -
Initialize this object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
Reset this object.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited