Program.cs 642 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using Microsoft.Xna.Framework;
  3. using UIKit;
  4. namespace ShadowMapping.iOS
  5. {
  6. public class Application
  7. {
  8. // This is the main entry point of the application.
  9. static void Main(string[] args)
  10. {
  11. UIApplication.Main(args, null, typeof(AppDelegate));
  12. }
  13. }
  14. public class AppDelegate : UIApplicationDelegate
  15. {
  16. private ShadowMappingGame _game;
  17. public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
  18. {
  19. _game = new ShadowMappingGame();
  20. _game.Run();
  21. return true;
  22. }
  23. }
  24. }