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)); }
public RallyPoint(Actor self, RallyPointInfo info) { Info = info; ResetPath(self); PaletteName = info.IsPlayerPalette ? info.Palette + self.Owner.InternalName : info.Palette; }
public RallyPoint(Actor self, RallyPointInfo info) { Location = self.Location + info.RallyPoint; self.World.AddFrameEndTask(w => w.Add(new RallyPointIndicator(self, info.IndicatorPalettePrefix))); }