public TestTech(string techName, TestStats techModsBase, TestTechPrice techPrice)
 {
     TechName     = techName;
     TechModsBase = techModsBase;
     TechPrice    = techPrice;
     TechMods     = new TestStats(TechModsBase);
     TechMods.Scale(techPrice.Level);
 }
Exemple #2
0
 public TestUnit(string unitName, TestStats stats, TestUnitPrice unitPrice)
 {
     UnitName  = unitName;
     Stats     = stats;
     UnitPrice = unitPrice;
 }
 public TestStats(TestStats other)
 {
     Attack = other.Attack;
     Hp     = other.Hp;
 }