/// <summary> /// Creates a new GuiManager /// </summary> /// <param name="game">The game this GuiManager belongs to</param> public GuiManager(ScrollingShooterGame game) { this.game = game; spriteFont = game.Content.Load<SpriteFont>("SpriteFonts/Pescadero"); progressSound = game.Content.Load<SoundEffect>("SFX/anti_tank_gun_single_shot"); }
/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (ScrollingShooterGame game = new ScrollingShooterGame()) { game.Run(); } }
public ScrollingShooterGame() { Game = this; graphics = new GraphicsDeviceManager(this); // Use HD TV resolution graphics.PreferredBackBufferWidth = 1280; graphics.PreferredBackBufferHeight = 720; Content.RootDirectory = "Content"; }
public ScrollingShooterGame() { Game = this; graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; }
/// <summary> /// Creates a new GuiManager /// </summary> /// <param name="game">The game this GuiManager belongs to</param> public GuiManager(ScrollingShooterGame game) { this.game = game; }