public VoxelHarvesterDockSequence(Actor self, Actor proc) { this.proc = proc; state = State.Turn; harv = self.Trait<Harvester>(); body = self.Trait<WithVoxelUnloadBody>(); }
public RAHarvesterDockSequence(Actor self, Actor proc) { this.proc = proc; state = State.Turn; harv = self.Trait<Harvester>(); ru = self.Trait<RenderUnit>(); }
public HarvesterDockSequence(Actor self, Actor proc) { this.proc = proc; state = State.Turn; harv = self.Trait<Harvester>(); ru = self.Trait<RenderUnit>(); startDock = self.CenterPosition; endDock = proc.CenterPosition + DockOffset; }
public HarvesterDockSequence(Actor self, Actor proc) { this.proc = proc; state = State.Turn; harv = self.Trait<Harvester>(); ru = self.Trait<RenderUnit>(); startDock = self.Trait<IHasLocation>().PxPosition; endDock = proc.Trait<IHasLocation>().PxPosition + new PVecInt(-15,8); }
public HarvesterDockSequence(Actor self, Actor proc) { this.proc = proc; state = State.Turn; harv = self.Trait<Harvester>(); rb = proc.Trait<RenderBuilding>(); startDock = self.Trait<IHasLocation>().PxPosition; endDock = proc.Trait<IHasLocation>().PxPosition + new int2(-15,8); }