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