/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
public IntroScreen(ContentManager Content, Game1 Game) { game = Game; name = "Intro"; aChange = true; versionVector = new Vector2(700, 575); titleImage = Content.Load<Texture2D>("Title Image"); blkImage = Content.Load<Texture2D>("Darkness"); font = Content.Load<SpriteFont>("TerminalFont"); }
static void Main(string[] args) { // Form Settings FormSettings settings = new FormSettings() { ContentDirectory = "Content", ScreenSize = new Microsoft.Xna.Framework.Point(800, 600), Windowed = true, WindowMouseView = true, FormContolLayout = new DefaultLayuout(), Window = new DefaultGameWindow() }; // Run Window using (Game1 game = new Game1(settings)) game.Run(); }