Closed spydon closed 3 months ago
Is it the same way in the SpriteGroupComponent?
Is it the same way in the SpriteGroupComponent?
I thought it didn't, but it does!
@erickzanardo this is the follow-up to fix it for SpriteGroupComponent
:
https://github.com/flame-engine/flame/pull/3185
@erickzanardo this is the follow-up to fix it for
SpriteGroupComponent
:
Cool, I am both right and late hahahha
Description
Many users try to modify the
SpriteAnimationGroupComponent.animations
map, but that doesn't work since it has to go through the setter, so this PR makes the returned map from the getter unmodifiable.Checklist
docs
and added dartdoc comments with///
.examples
ordocs
.Breaking Change?
Related Issues