RotationPlayerExtensions extension

on

Methods

simpleAttackMelee({required Future<SpriteAnimation> animation, required double damage, required Vector2 size, dynamic id, double? radAngleDirection, bool withPush = true, double marginFromCenter = 16, Vector2? centerOffset}) → void
simpleAttackRange({required Future<SpriteAnimation> animation, required Vector2 size, Future<SpriteAnimation>? animationDestroy, Vector2? destroySize, dynamic id, double speed = 150, double damage = 1, double? radAngleDirection, bool withDecorationCollision = true, VoidCallback? onDestroy, ShapeHitbox? collision, LightingConfig? lightingConfig, Vector2? centerOffset, double marginFromOrigin = 16}) → void