SceneObject class Null safety

Inheritance

Constructors

SceneObject({Vector2? position})

Properties

additionsDirty bool
read / write, inherited
concreteCount int
read-only, inherited
count int
read-only, inherited
destroyOnDeactivation bool
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height double
read / write
isVisible bool
read-only
position Vector2
final
removalsDirty bool
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scene Scene?
read / write
visible bool
write-only
width double
read / write

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 non-existent 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