public void buildModules(int i)
 {
     if (shipyard != null && true)
     {
         shipyard.component_storage[i]++;
         pc.chargeResources(0, 0, 0);                                      //Set to 0 for now, same with ship costs
     }
 }
示例#2
0
 public void calcResources(int upgrade_lvl, int type, Player_Class owner)
 {
     owner.chargeResources(cost1[upgrade_lvl, type], cost2[upgrade_lvl, type], cost3[upgrade_lvl, type]);
 }