InterposeBehavior constructor

InterposeBehavior([
  1. MovingEntity? entity1,
  2. MovingEntity? entity2,
  3. double deceleration = 3
])

Constructs a interpose behavior.

Implementation

InterposeBehavior([ this.entity1, this.entity2, this.deceleration = 3 ]):super();