public CommandMoveTrcFly(Axis axisX, Axis axisY, MoveTrcPrm trcPrm, IList <ICrdable> crds, InitLook initLookPrm) : base(axisX, axisY) { if (axisX.Card != axisY.Card) { throw new Exception("axis x and axis y must be on the same card!"); } this.card = axisX.Card; this.TrcPrm = trcPrm; this.Crds = crds; this.TrcSts = new MoveTrcSts(); this.crdQueue = new Queue <ICrdable>(); this.InitLoodPrm = initLookPrm; }
public CommandMoveTrcFly(Axis axisX, Axis axisY, MoveTrcPrm trcPrm, IList <ICrdable> crds, InitLook initLookPrm, Action starting) : this(axisX, axisY, trcPrm, crds, initLookPrm) { this.Starting = starting; }
public CommandMoveTrcBufFluid(Axis axisX, Axis axisY, MoveTrcPrm trcPrm, Cmp2dPrm cmp2dPrm, InitLook lookAheadPrm, IList <BufFluidItem> bufFluidItems) : base(axisX, axisY) { if (axisX.Card != axisY.Card) { throw new Exception("axis x and axis y must be on the same card!"); } this.card = axisX.Card; this.TrcPrm = trcPrm; this.Cmp2dPrm = cmp2dPrm; this.LookAheadPrm = lookAheadPrm; this.TrcSts = new MoveTrcSts(); this.bufFluidItemQueue = new Queue <BufFluidItem>(); this.bufCmp2dData = new Queue <PointD>(); this.initQueue(bufFluidItems); }