summaryrefslogtreecommitdiff
path: root/Penguloon/Scenes/StatsScene.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/Scenes/StatsScene.cs
parenta9adf4d4d52a9d42b885e2fc1dee9ea2f4451331 (diff)
level implementation XDDDDDDDd
Diffstat (limited to 'Penguloon/Scenes/StatsScene.cs')
-rw-r--r--Penguloon/Scenes/StatsScene.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/Penguloon/Scenes/StatsScene.cs b/Penguloon/Scenes/StatsScene.cs
index aa5dd29..948e77f 100644
--- a/Penguloon/Scenes/StatsScene.cs
+++ b/Penguloon/Scenes/StatsScene.cs
@@ -9,7 +9,7 @@ namespace Penguloon.Scenes
{
public StatsScene(Main main) : base(main)
{
-
+ UserdataManager.Level = UserdataManager.GetLevel();
}
public override void CreateControls()
@@ -68,6 +68,18 @@ namespace Penguloon.Scenes
int martinXRight = StaticUIValues.StatsMarginXRight;
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ UserdataManager.Level.ToString(),
+ new Vector2((int)StaticUIValues.ScreenViewport.X - martinXRight, 75),
+ new Vector2(0, 0),
+ TextAllignment.RightTop, Color.White, Color.Black, 2);
+
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ Main.Resources.GetString(Resource.String.StatsLevel) + " ",
+ new Vector2((int)StaticUIValues.ScreenViewport.X - martinXRight - ContentManager.GetFont(StaticUIValues.StatsFont).MeasureString(UserdataManager.Level.ToString()).X, 75),
+ new Vector2(0, 0),
+ TextAllignment.RightTop, Color.FromNonPremultiplied(200, 200, 200, 200), Color.Black, 2);
+
// Total kills
DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
Main.Resources.GetString(Resource.String.StatsTotalKills),