runAction method
Implementation
@override
bool runAction(double dt, GameComponent comp, BonfireGameInterface game) {
if (condition.execute(comp, game)) {
return doBehavior.runAction(dt, comp, game);
} else {
return doElseBehavior?.runAction(dt, comp, game) ?? false;
}
}