Game class abstract
- Implemented types
- Implementers
Constructors
- Game()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialized ↔ bool
-
getter/setter pair
- isAttached → bool
-
no setteroverride
- markNeedsPaint ↔ (void Function()?)
-
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updater ↔ GameLoop
-
latefinal
Methods
-
init(
) → void -
lifecycleStateChange(
AppLifecycleState state) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAttach(
) → void -
override
-
onDetach(
) → void -
override
-
onUpdate(
double deltaTime) → void -
override
-
render(
Canvas canvas, Offset offset) → void -
inherited
-
resize(
double width, double height) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
double deltaTime) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited