Game class abstract
Abstract base class for games
Inherit from it to update, paint, receive input and state changes in your game
- Implementers
Constructors
- Game()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
lifecycleStateChange(
AppLifecycleState state) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Canvas canvas) → void -
resize(
Size size) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
double dt) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited