/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
public InputManager(Game game) { cG = (Game1)game; mssButtonLeft = MsState.ButtonWasReleased; tsTimeSinceLastClick = TimeSpan.Zero; nClicksForDoubleClick = 0; }//InputManger
public TextManager(Game game, SpriteFont sfStandardFont) : base(game) { cG = (Game1)game; spriteBatch = (SpriteBatch)Game.Services.GetService(typeof(SpriteBatch)); sfStandard = sfStandardFont; }//TextManager
public override void FinishedLaunching (MonoMac.Foundation.NSObject notification) { Game1 game = new Game1(); game.Run(); }