예제 #1
0
        public override void Draw2()
        {
            spriteBatch.Draw(SK.texture_static_simon_red, SK.Position_Simon(), Get_Color(0));
            spriteBatch.Draw(SK.texture_static_simon_blue, SK.Position_Simon(), Get_Color(1));
            spriteBatch.Draw(SK.texture_static_simon_green, SK.Position_Simon(), Get_Color(2));
            spriteBatch.Draw(SK.texture_static_simon_yellow, SK.Position_Simon(), Get_Color(3));

            spriteBatch.Draw(SK.texture_static_simon_console, SK.Position_Simon(), Color.White);

            int index = 0;

            foreach (int c in color_player)
            {
                spriteBatch.Draw(SK.texture_spritesheet_minos_32x, new Vector2(SK.Position_Simon_Player().X, SK.Position_DisplayEdge().Y + 10 + 35 * index), Get_Mino(c), Color.White);
                index++;
            }

            index = 0;

            foreach (int c in color_simon)
            {
                if (result)
                {
                    spriteBatch.Draw(SK.texture_spritesheet_minos_32x, new Vector2(SK.Position_Simon_Simon().X, SK.Position_DisplayEdge().Y + 10 + 35 * index), Get_Mino(c), Color.White);
                }
                else
                {
                    spriteBatch.Draw(SK.texture_spritesheet_minos_32x, new Vector2(SK.Position_Simon_Simon().X, SK.Position_DisplayEdge().Y + 10 + 35 * index), Get_Mino(-1), Color.White);
                }
                index++;
            }
        }