Example #1
0
 public static int ScreenWidth()
 {
     return(WizardGrenadeGame.GetScreenWidth());
 }
Example #2
0
 public static Vector2 GetCentre()
 {
     return(new Vector2(WizardGrenadeGame.GetScreenWidth() / 2, WizardGrenadeGame.GetScreenHeight() / 2));
 }
Example #3
0
 public static float GetHorizontalCentre(int objectWidth)
 {
     return((WizardGrenadeGame.GetScreenWidth() - objectWidth) / 2);
 }