Пример #1
0
 public MuzzlePalette(ActorInitializer init, MuzzlePaletteInfo info)
 {
     world     = init.World;
     this.info = info;
 }
Пример #2
0
 public SpawnsShrapnel(Actor self, SpawnsShrapnelInfo info)
     : base(info)
 {
     world = self.World;
     body  = self.TraitOrDefault <BodyOrientation>();
 }
Пример #3
0
 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);
 }
Пример #4
0
 public PaletteFromMix(ActorInitializer init, PaletteFromMixInfo info)
 {
     world     = init.World;
     this.info = info;
 }
Пример #5
0
 public PaletteFromPal(OpenRA.World world, PaletteFromPalInfo info)
 {
     this.world = world;
     this.info  = info;
 }