Exemplo n.º 1
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'.");
 }
Exemplo n.º 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'.");
     }
 }
Exemplo n.º 3
0
 public GiveUnitCrateAction(Actor self, GiveUnitCrateActionInfo info)
     : base(self, info)
 {
     Info = info;
 }
Exemplo n.º 4
0
 public GiveUnitCrateAction(Actor self, GiveUnitCrateActionInfo info)
     : base(self, info)
 {
     Info = info;
 }