Exemple #1
0
 public void ChangePlayer(IStateGame pl)
 {
     StateGame = pl;
     StateGame.ReactionOfPress(this);
     next = !next;
 }
 protected override void LoadContent()
 {
     this.spriteBatch = new SpriteBatch(GraphicsDevice);
     this.gameState = new StartScene(this);
 }
 protected override void Initialize()
 {
     IsMouseVisible = true;
     this.Window.Title = "Pyramid Panic Beta";
     this.graphics.PreferredBackBufferHeight = 480;
     this.graphics.PreferredBackBufferWidth = 640;
     this.graphics.ApplyChanges();
     this.gameState = new StartScene(this);
     base.Initialize();
 }
 protected override void LoadContent()
 {
     this.spriteBatch = new SpriteBatch(GraphicsDevice);
     this.gameState   = new StartScene(this);
 }
 protected override void LoadContent()
 {
     // Create a new SpriteBatch, which can be used to draw textures.
     this.spriteBatch = new SpriteBatch(GraphicsDevice);
     this.gameState = new StartScene(this);
 }