public override void Draw(GameTime gameTime, SpriteBatch SpriteBatch)
 {
     backButton.Draw(gameTime, SpriteBatch);
     //Kép betöltése (jelenleg anonymous szöveg DE az kép)
     SpriteBatch.Draw(Main.descriptionText, new Rectangle(0, 0, 1280, 768), Color.White);
     //Description kiíratása betűméret változtatásával
     SpriteBatch.Draw(Main.description, new Rectangle(500, 0, 280, 50), Color.White);
 }
 public override void Draw(GameTime gameTime, SpriteBatch SpriteBatch)
 {
     backButton.Draw(gameTime, SpriteBatch);
     LeftButton.Draw(gameTime, SpriteBatch);
     RightButton.Draw(gameTime, SpriteBatch);
     StartButton.Draw(gameTime, SpriteBatch);
     //Options kiíratása betűméret változtatásával
     SpriteBatch.Draw(Main.options, new Rectangle(515, 0, 250, 40), Color.White);
     SpriteBatch.Draw(Main.leftText, new Rectangle(455, 210, 110, 35), Color.White);
     SpriteBatch.Draw(Main.rightText, new Rectangle(455, 310, 110, 35), Color.White);
     SpriteBatch.Draw(Main.startText, new Rectangle(455, 410, 110, 35), Color.White);
 }
Exemple #3
0
 public override void Draw(GameTime gameTime, SpriteBatch SpriteBatch)
 {
     backButton.Draw(gameTime, SpriteBatch);
     Level1Button.Draw(gameTime, SpriteBatch);
     Level2Button.Draw(gameTime, SpriteBatch);
     Level3Button.Draw(gameTime, SpriteBatch);
     Level4Button.Draw(gameTime, SpriteBatch);
     Level5Button.Draw(gameTime, SpriteBatch);
     Level6Button.Draw(gameTime, SpriteBatch);
     RandomLevelButton.Draw(gameTime, SpriteBatch);
     //Select Level kiíratása betűméret változtatásával
     SpriteBatch.Draw(Main.selectLevel, new Rectangle(500, 0, 280, 50), Color.White);
 }
Exemple #4
0
        public override void Draw(GameTime gameTime)
        {
            spriteBatch.Begin();
            background.Draw(gameTime);

            foreach (NumberBox numberBox in numberBoxes)
            {
                numberBox.Draw(gameTime);
            }

            buttonMenu.Draw(gameTime);

            spriteBatch.End();

            base.Draw(gameTime);
        }
Exemple #5
0
 public override void Draw(GameTime gameTime)
 {
     actionMenu.Draw(gameTime);
     base.Draw(gameTime);
 }