public override void Update(Rumor rumor, double delta) { base.Update(rumor, delta); if (Timeout.HasValue) { Finished = Elapsed >= Timeout.Value; if (Finished) { switch (moveType) { case MoveType.Jump: rumor.Jump(label); break; case MoveType.Call: rumor.Call(label); break; } rumor.State.ClearChoices(); } } }
public override Yield Execute(Rumor rumor) { rumor.Jump(Label); return(null); }