Skip to content

Commit

Permalink
feat: adding behavior support to AnchoredAnimationGroup (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtome authored Sep 17, 2024
1 parent 514d313 commit 3534585
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/leap/lib/src/entities/anchored_animation_group.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import 'package:flutter/foundation.dart';
/// It is also possible to use this without a subclass by simply setting
/// the [current] value in the parent's [update].
class AnchoredAnimationGroup<TKey, TParent extends PositionComponent>
extends SpriteAnimationGroupComponent<TKey> with ParentIsA<TParent> {
extends SpriteAnimationGroupComponent<TKey>
with ParentIsA<TParent>, EntityMixin {
AnchoredAnimationGroup({
this.spriteAnchor = Anchor.bottomCenter,
Vector2? spriteOffset,
Expand Down

0 comments on commit 3534585

Please sign in to comment.