public CompositeState Reduce(CompositeState state, UpdateTimeAction action) { state.LastTime = action.NewTime; return(state); }
public IAction Execute(CompositeState state, UpdateTimeAction action) { Console.WriteLine(action.GetType()); return(NullAction.Instance); }