From 35345853a34050e9b39f16beff03606069071449 Mon Sep 17 00:00:00 2001 From: Kurtis Melby Date: Mon, 16 Sep 2024 21:16:40 -0400 Subject: [PATCH] feat: adding behavior support to AnchoredAnimationGroup (#69) --- packages/leap/lib/src/entities/anchored_animation_group.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/leap/lib/src/entities/anchored_animation_group.dart b/packages/leap/lib/src/entities/anchored_animation_group.dart index f0e6e47..405aa89 100644 --- a/packages/leap/lib/src/entities/anchored_animation_group.dart +++ b/packages/leap/lib/src/entities/anchored_animation_group.dart @@ -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 - extends SpriteAnimationGroupComponent with ParentIsA { + extends SpriteAnimationGroupComponent + with ParentIsA, EntityMixin { AnchoredAnimationGroup({ this.spriteAnchor = Anchor.bottomCenter, Vector2? spriteOffset,