I"m doing the following to avoid name collisions but this breaks the autobind generator:
import 'package:flame/components.dart' as c;
class SpriteAnimationComponent extends c.SpriteAnimationComponent with HasName {
}
Odly enough it works if I do something like this:
class SpriteAnimComp extends c.SpriteAnimationComponent with HasName {}
Its just if I am trying to use the same class name it doesn't like that. This means I can at least work around the problem for now
I"m doing the following to avoid name collisions but this breaks the autobind generator:
Odly enough it works if I do something like this:
class SpriteAnimComp extends c.SpriteAnimationComponent with HasName {}Its just if I am trying to use the same class name it doesn't like that. This means I can at least work around the problem for now