public override void OnNext(ChangedListData <T> value) { var change = _state.Apply(value.Change, _func); var list = new StateAdapter(value.ReachedState, _state); this.Adaptee.OnNext(new ChangedListData <TAdaptee>(change, list)); }
public StateController() { stateAdapter = new StateAdapter(); }
public void InitTransitionTable(StateAdapter adapter) { TransitionTable.Add(Inventory.API.Messages.CLOSE_LOOT_MENU, adapter._riffleState); }
public void InitTransitionTable(StateAdapter adapter) { TransitionTable.Add(Inventory.API.Messages.WANT_OPEN_LOOT_MENU, adapter._lootMenuState); }