Example #1
0
 public static Vector2 GetCentre()
 {
     return(new Vector2(WizardGrenadeGame.GetScreenWidth() / 2, WizardGrenadeGame.GetScreenHeight() / 2));
 }
Example #2
0
 public static int ScreenHeight()
 {
     return(WizardGrenadeGame.GetScreenHeight());
 }
Example #3
0
 public static int ScreenWidth()
 {
     return(WizardGrenadeGame.GetScreenWidth());
 }
Example #4
0
 public static float GetVerticalCentre(int objectHeight)
 {
     return((WizardGrenadeGame.GetScreenHeight() - objectHeight) / 2);
 }
Example #5
0
 public static float GetHorizontalCentre(int objectWidth)
 {
     return((WizardGrenadeGame.GetScreenWidth() - objectWidth) / 2);
 }
Example #6
0
 static void Main()
 {
     using (var game = new WizardGrenadeGame())
         game.Run();
 }