BMoveToComponent constructor

BMoveToComponent({
  1. dynamic id,
  2. required GameComponent target,
  3. double margin = 0,
  4. MovementAxis movementAxis = MovementAxis.all,
})

Implementation

BMoveToComponent({
  dynamic id,
  required this.target,
  this.margin = 0,
  this.movementAxis = MovementAxis.all,
}) : super(id);