summaryrefslogtreecommitdiff
path: root/Penguloon/Levels/LevelBase.cs
diff options
context:
space:
mode:
authoraldrikboy <aldrikboy@gmail.com>2017-12-29 00:32:34 +0100
committeraldrikboy <aldrikboy@gmail.com>2017-12-29 00:32:34 +0100
commit5373e919a0d9e389fc2076963f610d044c21ccb5 (patch)
treedafaf1e2f4857d37bb8ba36cd02c8ccd7d40635e /Penguloon/Levels/LevelBase.cs
parenta9adf4d4d52a9d42b885e2fc1dee9ea2f4451331 (diff)
level implementation XDDDDDDDd
Diffstat (limited to 'Penguloon/Levels/LevelBase.cs')
-rw-r--r--Penguloon/Levels/LevelBase.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Penguloon/Levels/LevelBase.cs b/Penguloon/Levels/LevelBase.cs
index fbd6bd7..351cdcf 100644
--- a/Penguloon/Levels/LevelBase.cs
+++ b/Penguloon/Levels/LevelBase.cs
@@ -25,6 +25,8 @@ namespace Penguloon.Levels
public bool Finished { get; set; } = false;
+ public int MinimumLevel { get; set; }
+
public LevelBase()
{
@@ -117,6 +119,8 @@ namespace Penguloon.Levels
UserdataManager.HighestRound = Map.WaveManager.CurrentWave - 1;
UserdataManager.WriteData(ParentScene.Main.Context);
+
+ UserdataManager.Level = UserdataManager.GetLevel();
}
}
} \ No newline at end of file