summaryrefslogtreecommitdiff
path: root/Penguloon/Scenes/StatsScene.cs
diff options
context:
space:
mode:
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