Beispiel #1
0
 public void Draw(SpriteBatch spriteBatch)
 {
     if (status >= 1 && status <= 3)
     {
         title.DrawString(spriteBatch);
     }
 }
 public void Draw(SpriteBatch spriteBatch)
 {
     itemtitle.DrawString(spriteBatch);
     itemsetting.DrawString(spriteBatch);
     arrow_left.Draw(spriteBatch);
     arrow_right.Draw(spriteBatch);
 }
Beispiel #3
0
        public override void Draw(SpriteBatch spriteBatch)
        {
            base.Draw(spriteBatch);
            background.Draw(spriteBatch);
            sign.Draw(spriteBatch);
            poster.Draw(spriteBatch);
            test_text.DrawString(spriteBatch);


            for (int i = 0; i < text.Length; i++)
            {
                menuItems[i].Draw(spriteBatch);
            }
        }
Beispiel #4
0
        public virtual void Draw(SpriteBatch spriteBatch)
        {
            background.Draw(spriteBatch);

            switch (currentSelectedMainControl)
            {
            case selection.buttonup:
                mainbuttonup.Draw(spriteBatch);
                break;

            case selection.buttondown:
                mainbuttondown.Draw(spriteBatch);
                break;

            case selection.fieldactive:
                field_active.Draw(spriteBatch);
                break;
            }

            mainbuttonmiddle.Draw(spriteBatch);


            if (currentSelectedMainControl == selection.buttonback)
            {
                buttonback.Color = Color.White;
            }
            else
            {
                buttonback.Color = Color.Black;
            }
            if (currentSelectedMainControl == selection.buttoncontinue)
            {
                buttoncontinue.Color = Color.White;
            }
            else
            {
                buttoncontinue.Color = Color.Black;
            }

            buttonback.DrawString(spriteBatch);
            buttoncontinue.DrawString(spriteBatch);

            //mainbuttonup_pressed.Draw(spriteBatch);
            //mainbuttondown_pressed.Draw(spriteBatch);
        }
Beispiel #5
0
 public void Draw(SpriteBatch spriteBatch)
 {
     Text.DrawString(spriteBatch);
 }
 public void Draw(SpriteBatch spriteBatch, Vector2 Position)
 {
     Text.Position = Position + new Vector2(-width, 0);
     Text.DrawString(spriteBatch, new Vector2(0.2f, 0.15f));
 }