public RAHarvesterDockSequence(Actor self, Actor proc, int angle) { this.proc = proc; this.angle = angle; 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.Trait<IHasLocation>().PxPosition; endDock = proc.Trait<IHasLocation>().PxPosition + new PVecInt(-15,8); }