예제 #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
예제 #2
0
 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();
 }