diff options
| author | aldrikboy <aldrikboy@gmail.com> | 2018-01-14 15:46:58 +0100 |
|---|---|---|
| committer | aldrikboy <aldrikboy@gmail.com> | 2018-01-14 15:46:58 +0100 |
| commit | a0217e8ffaceb6bc109eec270c754935a54eb404 (patch) | |
| tree | 612a5c6b54148b45a05eb74ea40af541ec69cbb2 /Penguloon/Objects/ObjectBase.cs | |
| parent | 8d30b5ac461e95cabfc74e46b610beabd81cb460 (diff) | |
upgrades
Diffstat (limited to 'Penguloon/Objects/ObjectBase.cs')
| -rw-r--r-- | Penguloon/Objects/ObjectBase.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Penguloon/Objects/ObjectBase.cs b/Penguloon/Objects/ObjectBase.cs index aef4e6a..e5d9fe5 100644 --- a/Penguloon/Objects/ObjectBase.cs +++ b/Penguloon/Objects/ObjectBase.cs @@ -37,10 +37,14 @@ namespace Penguloon.Objects public bool Selected { get; set; } = false; + public List<ObjectUpgrade> UpgradeList { get; set; } = new List<ObjectUpgrade>(); + public ObjectBase(Vector2 position, Map map) { this.Map = map; this.Position = position; + + CreateUpgrades(); } public ObjectBase(Map map) @@ -48,6 +52,10 @@ namespace Penguloon.Objects this.Map = map; } + public virtual void CreateUpgrades() + { + } + public bool RoundFinished { get; set; } = true; public void Update(float deltaTime) |
