followParent method
void
followParent()
Implementation
void followParent() {
if (parent != null && parent is GameComponent) {
followerTarget = parent as GameComponent;
}
}
void followParent() {
if (parent != null && parent is GameComponent) {
followerTarget = parent as GameComponent;
}
}