public override void FinishedLaunching(UIApplication application) { var bounds = UIScreen.MainScreen.Bounds; Point size = new Point((int)bounds.Width, (int)bounds.Height); game = new CatGirlsGame(size); game.Run(); }
/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { Point size = NamedScreenSizes.Get(args.Length > 0 ? args[0] : null); using (CatGirlsGame game = new CatGirlsGame(size)) { game.Run(); } }