예제 #1
0
 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>();
 }
예제 #2
0
 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);
 }