예제 #1
0
		public RallyPoint(Actor self, RallyPointInfo info)
		{
			Info = info;
			ResetLocation(self);
			PaletteName = info.IsPlayerPalette ? info.Palette + self.Owner.InternalName : info.Palette;
			self.World.Add(new RallyPointIndicator(self, this));
		}
예제 #2
0
 public RallyPoint(Actor self, RallyPointInfo info)
 {
     Info = info;
     ResetLocation(self);
     PaletteName = info.IsPlayerPalette ? info.Palette + self.Owner.InternalName : info.Palette;
     self.World.Add(new RallyPointIndicator(self, this));
 }
예제 #3
0
파일: RallyPoint.cs 프로젝트: zredb/OpenRA
 public RallyPoint(Actor self, RallyPointInfo info)
 {
     Info = info;
     ResetPath(self);
     PaletteName = info.IsPlayerPalette ? info.Palette + self.Owner.InternalName : info.Palette;
 }
예제 #4
0
 public RallyPoint(Actor self, RallyPointInfo info)
 {
     Location = self.Location + info.RallyPoint;
     self.World.AddFrameEndTask(w => w.Add(new RallyPointIndicator(self, info.IndicatorPalettePrefix)));
 }
예제 #5
0
 public RallyPoint(Actor self, RallyPointInfo info)
 {
     Location = self.Location + info.RallyPoint;
     self.World.AddFrameEndTask(w => w.Add(new RallyPointIndicator(self, info.IndicatorPalettePrefix)));
 }