Example #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
Example #2
0
        public InputManager(Game game)
        {
            cG = (Game1)game;
            mssButtonLeft = MsState.ButtonWasReleased;
            tsTimeSinceLastClick = TimeSpan.Zero;
            nClicksForDoubleClick = 0;

        }//InputManger
Example #3
0
        public TextManager(Game game, SpriteFont sfStandardFont)
            : base(game)
        {
            cG = (Game1)game;
            spriteBatch = (SpriteBatch)Game.Services.GetService(typeof(SpriteBatch));
            sfStandard = sfStandardFont;

        }//TextManager
Example #4
0
		public override void FinishedLaunching (MonoMac.Foundation.NSObject notification)
		{
			Game1 game = new Game1();
			game.Run();
		}