VelocityEffect constructor

VelocityEffect({
  1. required MVector2 velocity,
  2. bool? enabled,
  3. int? priority,
})

Implementation

VelocityEffect({
  required this.velocity,
  super.enabled,
  super.priority,
}) {
  _target = EffectTarget<PositionOwner>(this);
}