Example #1
0
 public static void addNewTech(Nation player, Technology tech)
 {
     player.AddTechnology(tech.GetTechName());
     if (tech.GetDiscovered() == false)
     {
         player.addPattent();
         tech.SetDiscovered(true);
         tech.SetDiscoveredBy(player.getIndex());
     }
 }