Selaa lähdekoodia

Fix UIUtility spelling.

Dominique Louis 3 viikkoa sitten
vanhempi
commit
2a8db7af10

+ 1 - 1
CardsStarterKit/Core/Game/Blackjack/UI/Button.cs

@@ -146,7 +146,7 @@ namespace Blackjack
                 {
                     isPressed = true;
 
-                    if (UIUtilty.IsMobile)
+                    if (UIUtility.IsMobile)
                     {
                         FireClick();
                         isPressed = false;

+ 2 - 2
CardsStarterKit/Core/Game/BlackjackGame.cs

@@ -37,12 +37,12 @@ namespace Blackjack
 
             Content.RootDirectory = "Content";
 
-            if (UIUtilty.IsMobile)
+            if (UIUtility.IsMobile)
             {
                 graphicsDeviceManager.IsFullScreen = true;
                 IsMouseVisible = false;
             }
-            else if (UIUtilty.IsDesktop)
+            else if (UIUtility.IsDesktop)
             {
                 graphicsDeviceManager.IsFullScreen = false;
                 IsMouseVisible = true;

+ 1 - 1
CardsStarterKit/Framework/Utils/UIUtilty.cs → CardsStarterKit/Framework/Utils/UIUtility.cs

@@ -11,7 +11,7 @@ using System.Text;
 
 namespace CardsFramework
 {
-    public static class UIUtilty
+    public static class UIUtility
     {
         /// <summary>
         /// Indicates if the game is running on a mobile platform.