public GiveUnitCrateAction(Actor self, GiveUnitCrateActionInfo info)
     : base(self, info)
 {
     this.self = self;
     this.info = info;
     if (!info.Units.Any())
         throw new YamlException("A GiveUnitCrateAction does not specify any units to give. This might be because the yaml is referring to 'Unit' rather than 'Units'.");
 }
Beispiel #2
0
 public GiveUnitCrateAction(Actor self, GiveUnitCrateActionInfo info)
     : base(self, info)
 {
     this.self = self;
     this.info = info;
     if (!info.Units.Any())
     {
         throw new YamlException("A GiveUnitCrateAction does not specify any units to give. This might be because the yaml is referring to 'Unit' rather than 'Units'.");
     }
 }
Beispiel #3
0
 public GiveUnitCrateAction(Actor self, GiveUnitCrateActionInfo info)
     : base(self, info)
 {
     Info = info;
 }
 public GiveUnitCrateAction(Actor self, GiveUnitCrateActionInfo info)
     : base(self, info)
 {
     Info = info;
 }