예제 #1
0
        public override void FinishedLaunching(NSObject notification)
        {
            var appSettings = new AppSettings ("Blimey Engine Demo") {
                FullScreen = true,
                MouseGeneratesTouches = true
            };

            var entryPoint = new Demo ();
            var api = new Api ();

            platform = new Platform (api);
            platform.Start (appSettings, entryPoint);
        }
예제 #2
0
        // This method is invoked when the application has
        // loaded its UI and is ready to run
        public override Boolean FinishedLaunching(
			MonoTouch.UIKit.UIApplication app,
			MonoTouch.Foundation.NSDictionary options)
        {
            var appSettings = new AppSettings ("Blimey Platform Demo") {
                MouseGeneratesTouches = true
            };

            var entryPoint = new BasicApp();

            IApi xamarinIOSApiImplementation = new Api ();
            platform = new Platform (xamarinIOSApiImplementation);
            platform.Start (appSettings, entryPoint);

            return true;
        }
예제 #3
0
        // This method is invoked when the application has
        // loaded its UI and is ready to run
        public override Boolean FinishedLaunching(
			MonoTouch.UIKit.UIApplication app,
			MonoTouch.Foundation.NSDictionary options)
        {
            var appSettings = new AppSettings ("Engine Demo") {
                FullScreen = true,
                MouseGeneratesTouches = true
            };

            var entryPoint = new Demo ();
            var api = new Api ();

            platform = new Platform (api);
            platform.Start (appSettings, entryPoint);

            return true;
        }
예제 #4
0
        public static void Main( string[] args )
        {
            var appSettings = new AppSettings ("Blimey Engine Demo") {
                FullScreen = true,
                MouseGeneratesTouches = true
            };

            var entryPoint = new Demo();

            IApi api = new Api ();

            using (var platform = new Platform (api))
            {
                platform.Start (appSettings, entryPoint);

                (api as Api).Run ();

                platform.Stop ();
            }
        }
예제 #5
0
 public override void FinishedLaunching(NSObject notification)
 {
     var api = new Api ();
     app = new Demo (api);
     app.Start ();
 }
예제 #6
0
 public MainWindowDelegate(Api owner)
 {
     if (owner == null) throw new ArgumentNullException ("owner");
     this.owner = owner;
 }