GameBalance.cs 695 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. public static class GameBalance
  3. {
  4. public static int InitialMoney = 5;
  5. public static int InitialGem = 0;
  6. public static UpgradeBalance[] UpgradeBase = new UpgradeBalance[4]
  7. {
  8. new UpgradeBalance(10, 1.4f, 1),
  9. new UpgradeBalance(10, 1.4f, 1),
  10. new UpgradeBalance(10, 1.4f, 1),
  11. new UpgradeBalance(10, 1.4f, 1),
  12. };
  13. public class UpgradeBalance
  14. {
  15. public int BasePrice;
  16. public float BasePriceCoefficient;
  17. public float BaseValue;
  18. public UpgradeBalance(int basePrice, float basePriceCoefficient, float baseValue)
  19. {
  20. BasePrice = basePrice;
  21. BasePriceCoefficient = basePriceCoefficient;
  22. BaseValue = baseValue;
  23. }
  24. }
  25. }