/// <summary> /// Delay = seconds /// </summary> /// <param name="action"></param> /// <param name="delay"></param> protected void Action(Action action, float delay) { DelayedActions.Add(new KeyValuePair <Action, float>(action, delay)); }
public GameState AddDelayedAction(DelayedAction action) { return(WithDelayedActions(DelayedActions.Add(action))); }