GameObject class abstract
Class defining a game object for Illume
Constructors
Properties
- alignment ↔ GameObjectAlignment
-
getter/setter pair
- collidable ↔ bool
-
getter/setter pair
- gameSize ↔ Vector2
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- illumeController ↔ IllumeController
-
getter/setter pair
- initialised ↔ bool
-
getter/setter pair
- position ↔ Vector2
-
getter/setter pair
- rebuildWidgetIfNeeded ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ Vector2
-
getter/setter pair
- visible ↔ bool
-
getter/setter pair
Methods
-
build(
BuildContext context) → Widget -
getPositionRect(
) → Rect -
init(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCollision(
List< Collision> collisions) → void -
onScreenSizeChange(
Vector2 size) → void -
rebuildWidget(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
Duration delta) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited