SceneObject class

Inheritance

Constructors

SceneObject({Vector2? position})

Properties

additionsDirty bool
getter/setter pairinherited
concreteCount int
no setterinherited
count int
no setterinherited
destroyOnDeactivation bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double
getter/setter pair
isVisible bool
no setter
position Vector2
final
removalsDirty bool
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scene Scene?
getter/setter pair
visible bool
no getter
width double
getter/setter pair

Methods

add(Component object) → void
inherited
commitUpdates() → void
inherited
destroy() → void
findByType<E extends BaseObject>() → E?
inherited
findComponentByName(String name) Component?
getAdditionsArray() List<Component>
inherited
getAt(int index) Component
inherited
getCenteredPositionX() double
getCenteredPositionY() double
getObjects() → SortedList<Component>
inherited
getRemovalsArray() List<Component>
inherited
hide() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(Component object) → void
inherited
removeAll() → void
inherited
reset() → void
override
setPosition(double x, double y) → void
show() → void
spawn() → void
toString() String
A string representation of this object.
override
update(double deltaTime, BaseObject parent) → void
inherited

Operators

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