AnimatedSpriteGame class
A Game which updates and renders an AnimatedSprite, used by a GameWidget
Constructors
- AnimatedSpriteGame(AnimatedSprite animatedSprite)
Properties
- animatedSprite ↔ AnimatedSprite
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spriteBatchMap ↔ SpriteBatchMap
-
getter/setter pair
Methods
-
initialize(
ImageAssetCache imageAssetCache) → Future< AnimatedSpriteGame> -
lifecycleStateChange(
AppLifecycleState state) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Canvas canvas) → void -
override
-
resize(
Size size) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
double dt) → void -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited