protected AbstractItemState(ItemStateMachine sm, ItemEntity itemEnt) { StateMachine = sm; Item = itemEnt; }
public EmergingItemState(ItemStateMachine sm, ItemEntity item) : base(sm, item) { }
public ActiveItemState(ItemStateMachine sm, ItemEntity item) : base(sm, item) { }
public ItemStateMachine(ItemEntity item) { Active = new ActiveItemState(this, item); Inactive = new InactiveItemState(this, item); Emerging = new EmergingItemState(this, item); }