public override void Run(float delta, Tank tank) { if (condition.Evaluate(delta, tank)) { tank.AddActionsToBeginning(ifActions); } else { if (elseActions.Count > 0) { tank.AddActionsToBeginning(elseActions); } } done = true; }