public MuzzlePalette(ActorInitializer init, MuzzlePaletteInfo info) { world = init.World; this.info = info; }
public SpawnsShrapnel(Actor self, SpawnsShrapnelInfo info) : base(info) { world = self.World; body = self.TraitOrDefault <BodyOrientation>(); }
public void WorldLoaded(OpenRA.World w) { // NOTE(jsd): 32 seems a sane default initial capacity for the total # of harvesters in a game. Purely a guesstimate. claimByCell = new Dictionary <CPos, ResourceClaim>(32); claimByActor = new Dictionary <Actor, ResourceClaim>(32); }
public PaletteFromMix(ActorInitializer init, PaletteFromMixInfo info) { world = init.World; this.info = info; }
public PaletteFromPal(OpenRA.World world, PaletteFromPalInfo info) { this.world = world; this.info = info; }