public void TransferItem([NotNull] Thing item, [NotNull] BeltItemContainer other) { _container.Remove(item); _thingCounter.Remove(item); other.AddItem(item); _parentComponent.OnItemTransfer(item, other._parentComponent); }
public BeltComponent() { _beltPhase = Phase.Offline; ItemContainer = new BeltItemContainer(this); ThingOrigin = IntVec3.Invalid; BeltSpeed = Constants.DefaultBeltSpeed; }
public BeltComponent() { _processLevel = Level.Surface; _inputLevel = Level.Surface; _outputLevel = Level.Surface; _beltPhase = Phase.Offline; ItemContainer = new BeltItemContainer(this); ThingOrigin = IntVec3.Invalid; //BeltSpeed = Constants.DefaultBeltSpeed; }