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