summaryrefslogtreecommitdiff
path: root/Penguloon/Objects/PenguinObject.cs
diff options
context:
space:
mode:
authoraldrikboy <aldrikboy@gmail.com>2018-01-15 19:57:56 +0100
committeraldrikboy <aldrikboy@gmail.com>2018-01-15 19:57:56 +0100
commit1f5295752f9052c2b7b64660fa36293f18de73d0 (patch)
tree17af827f212f720f9c2f63aaa02fbe723ea7db2f /Penguloon/Objects/PenguinObject.cs
parenta0217e8ffaceb6bc109eec270c754935a54eb404 (diff)
upgrades working
Diffstat (limited to 'Penguloon/Objects/PenguinObject.cs')
-rw-r--r--Penguloon/Objects/PenguinObject.cs6
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)