Exemple #1
0
 //public
 public void ApplyTech(int playerIndex, StatIncreaseTech tech)
 {
     if (TechDicto.AddToList(playerIndex, tech, true))
     {
         tech.Execute(playerIndex, this);
     }
 }
Exemple #2
0
 public void ApplyTech(int playerIndex, StatIncreaseTech tech)
 {
     for (int index = 0; index < Models.Count; index++)
     {
         Models[index].ApplyTech(playerIndex, tech);
     }
 }