PositionComponent class

Inheritance

Constructors

PositionComponent()

Properties

hashCode int
The hash code for this object.
no setterinherited
position ↔ Vector2
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
getter/setter pair
y double
getter/setter pair

Methods

dispose() → void
Release this object back into the pool.
inherited
init([Vector2? position]) → void
Initialize this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Reset this object.
override
toString() String
A string representation of this object.
inherited

Operators

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