setupFollower method

void setupFollower({
  1. GameComponent? target,
  2. Vector2? offset,
})

Implementation

void setupFollower({
  GameComponent? target,
  Vector2? offset,
}) {
  followerTarget = target ?? followerTarget;
  followerOffset = offset ?? followerOffset;
}