summaryrefslogtreecommitdiff
path: root/Penguloon/Scenes/StatsScene.cs
diff options
context:
space:
mode:
authoraldrikboy <aldrikboy@gmail.com>2017-12-27 18:49:00 +0100
committeraldrikboy <aldrikboy@gmail.com>2017-12-27 18:49:00 +0100
commitcf94a59c7188b10db9b31b818a6d0995d9ab0aee (patch)
treecbf3ac1aaa10419df8bbe0e07f71cce11ecded75 /Penguloon/Scenes/StatsScene.cs
parent020fd61af37eaaac81d7b930be15f8c350f28b7d (diff)
BLESSED BY PASTOR LUL
Diffstat (limited to 'Penguloon/Scenes/StatsScene.cs')
-rw-r--r--Penguloon/Scenes/StatsScene.cs81
1 files changed, 80 insertions, 1 deletions
diff --git a/Penguloon/Scenes/StatsScene.cs b/Penguloon/Scenes/StatsScene.cs
index 21adf27..c488f81 100644
--- a/Penguloon/Scenes/StatsScene.cs
+++ b/Penguloon/Scenes/StatsScene.cs
@@ -60,10 +60,89 @@ namespace Penguloon.Scenes
private void DrawStats(int borderHorizontalY)
{
- DrawText(ContentManager.GetFont(StaticUIValues.MenuFont), UserdataManager.TotalKills.ToString(),
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ Main.Resources.GetString(Resource.String.StatsTotalStatsTitle),
new Vector2(120, borderHorizontalY),
new Vector2(0, 0),
+ TextAllignment.LeftTop, Color.FromNonPremultiplied(200, 200, 200, 200), Color.Black, 2);
+
+ // Total kills
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ Main.Resources.GetString(Resource.String.StatsTotalKills),
+ new Vector2(120, borderHorizontalY + 25 + (60 * 1)),
+ new Vector2(0, 0),
+ TextAllignment.LeftTop, Color.White, Color.Black, 2);
+
+ // Total kills stat
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ UserdataManager.TotalKills.ToString(),
+ new Vector2(920, borderHorizontalY + 25 + (60 * 1)),
+ new Vector2(0, 0),
+ TextAllignment.RightTop, Color.White, Color.Black, 2);
+
+ // Total games
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ Main.Resources.GetString(Resource.String.StatsTotalGames),
+ new Vector2(120, borderHorizontalY + 25 + (60 * 2)),
+ new Vector2(0, 0),
TextAllignment.LeftTop, Color.White, Color.Black, 2);
+
+ // Total games stat
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ UserdataManager.GamesPlayed.ToString(),
+ new Vector2(920, borderHorizontalY + 25 + (60 * 2)),
+ new Vector2(0, 0),
+ TextAllignment.RightTop, Color.White, Color.Black, 2);
+
+ // Total money spent
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ Main.Resources.GetString(Resource.String.StatsTotalMoneySpent),
+ new Vector2(120, borderHorizontalY + 25 + (60 * 3)),
+ new Vector2(0, 0),
+ TextAllignment.LeftTop, Color.White, Color.Black, 2);
+
+ // Total money spent stat
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ UserdataManager.TotalMoneySpent.ToString(),
+ new Vector2(920, borderHorizontalY + 25 + (60 * 3)),
+ new Vector2(0, 0),
+ TextAllignment.RightTop, Color.White, Color.Black, 2);
+
+ ///////////////////
+
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ Main.Resources.GetString(Resource.String.StatsBestStatsTitle),
+ new Vector2(120, borderHorizontalY + 50 + (60 * 4)),
+ new Vector2(0, 0),
+ TextAllignment.LeftTop, Color.FromNonPremultiplied(200, 200, 200, 200), Color.Black, 2);
+
+ // Total kills
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ Main.Resources.GetString(Resource.String.StatsBestKills),
+ new Vector2(120, borderHorizontalY + 75 + (60 * 5)),
+ new Vector2(0, 0),
+ TextAllignment.LeftTop, Color.White, Color.Black, 2);
+
+ // Total kills stat
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ UserdataManager.HighestKills.ToString(),
+ new Vector2(920, borderHorizontalY + 75 + (60 * 5)),
+ new Vector2(0, 0),
+ TextAllignment.RightTop, Color.White, Color.Black, 2);
+
+ // Total games
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ Main.Resources.GetString(Resource.String.StatsBestRound),
+ new Vector2(120, borderHorizontalY + 75 + (60 * 6)),
+ new Vector2(0, 0),
+ TextAllignment.LeftTop, Color.White, Color.Black, 2);
+
+ // Total games stat
+ DrawText(ContentManager.GetFont(StaticUIValues.StatsFont),
+ UserdataManager.HighestRound.ToString(),
+ new Vector2(920, borderHorizontalY + 75 + (60 * 6)),
+ new Vector2(0, 0),
+ TextAllignment.RightTop, Color.White, Color.Black, 2);
}
}
} \ No newline at end of file