From cf94a59c7188b10db9b31b818a6d0995d9ab0aee Mon Sep 17 00:00:00 2001 From: aldrikboy Date: Wed, 27 Dec 2017 18:49:00 +0100 Subject: BLESSED BY PASTOR LUL --- Penguloon/Scenes/StatsScene.cs | 81 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 80 insertions(+), 1 deletion(-) (limited to 'Penguloon/Scenes/StatsScene.cs') 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 -- cgit v1.2.3-70-g09d2