Example #1
0
        public override void DidFinishLaunching(NSNotification notification)
        {
            _window = new IOSGameWindow(this);

            var context = new GameContext
            {
                GraphicsDriver   = new IOSGraphicsDriver(),
                AudioDriver      = new IOSAudioDriver(),
                Name             = Program.Context.Name,
                GameResourceName = Program.Context.GameResourceName,
                Window           = _window,
                Args             = Program.Context.Args,
                Resources        = new ResourceDatabase(Program.Context.Archives)
            };

            Game.Start(context);
        }
Example #2
0
 internal NozView(IOSGameWindow window, CoreGraphics.CGRect rect) : base(rect)
 {
     _window = window;
 }