/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (TowerAssault game = new TowerAssault()) { game.Run(); } }
internal TowerAssault() { wiggles = this; Graphics = new GraphicsDeviceManager(GameInstance); Content.RootDirectory = "Content"; Settings = new GameSettings(); MenuScreen.Fontname = "Fonts/menufont"; SoundManager.Manager.SetContentManager(Content); Settings = GameSettings.LoadSettings(); Camera = new Camera( this, new Vector3(750, 750, 2500), Vector3.Zero, Vector3.Up); }