diff options
| author | aldrikboy <aldrikboy@gmail.com> | 2018-01-15 19:57:56 +0100 |
|---|---|---|
| committer | aldrikboy <aldrikboy@gmail.com> | 2018-01-15 19:57:56 +0100 |
| commit | 1f5295752f9052c2b7b64660fa36293f18de73d0 (patch) | |
| tree | 17af827f212f720f9c2f63aaa02fbe723ea7db2f /Penguloon/Objects/PenguinObject.cs | |
| parent | a0217e8ffaceb6bc109eec270c754935a54eb404 (diff) | |
upgrades working
Diffstat (limited to 'Penguloon/Objects/PenguinObject.cs')
| -rw-r--r-- | Penguloon/Objects/PenguinObject.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Penguloon/Objects/PenguinObject.cs b/Penguloon/Objects/PenguinObject.cs index 0fc1078..7d3f259 100644 --- a/Penguloon/Objects/PenguinObject.cs +++ b/Penguloon/Objects/PenguinObject.cs @@ -29,8 +29,10 @@ namespace Penguloon.Objects public override void CreateUpgrades() { - UpgradeList.Add(new ObjectUpgrade(100, UpgradeType.PopCount, "+1 pop", null)); - UpgradeList.Add(new ObjectUpgrade(100, UpgradeType.Speed, "+15 Speed", null)); + ObjectUpgrade upg = new ObjectUpgrade(100, UpgradeType.PopCount, "+2 pop", null, Map.Level); + + UpgradeList.Add(new ObjectUpgrade(100, UpgradeType.PopCount, "+1 pop", upg, Map.Level)); + UpgradeList.Add(new ObjectUpgrade(100, UpgradeType.Speed, "+15 Speed", null, Map.Level)); } public override void DrawUnique(float deltaTime) |
