public override void FinishedLaunching(MonoMac.Foundation.NSObject notification) { // Handle a Xamarin.Mac Upgrade AppDomain.CurrentDomain.AssemblyResolve += (object sender, ResolveEventArgs a) => { if (a.Name.StartsWith ("MonoMac")) { return typeof(MonoMac.AppKit.AppKitFramework).Assembly; } return null; }; game = new Game1 (); game.Run (); }
public World(Game1 game) { _pianotex = game.Content.Load<Texture2D> ("catpiano"); _meow = game.Content.Load<SoundEffect>("meow1"); }