/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
public SpriteManager(Texture2D texture, Vector2 position, Vector2 screen, Game1 aGame, Asis anAsis, Laser aLaser, Enemy aEnemy, SoundEffect aLaserSoundEffect, SoundEffect aBackwardsLaserSoundEffect) : base(texture, position) { myPosition = position; myScreenSize = screen; myGame = aGame; Asis = anAsis; Laser = aLaser; redEnemy = aEnemy; LaserSoundEffect = aLaserSoundEffect; BackwardsLaserSoundEffect = aBackwardsLaserSoundEffect; myState = new IdleState(this); TimeStack = new Stack(); SetUpInput(); }