SpriteBatchMap class
a sprite batch per image map
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spriteBatchMap
→ Map<
String, SpriteBatch> -
final
Methods
-
add(
Sprite sprite) → void - add sprite to sprite batch map with asset name as key
-
addAll(
List< Sprite> sprites) → void - add a list of sprites
-
clear(
) → void - remove all items from all sprite batch maps
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Canvas canvas) → void - render sprites effectively
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited