Ejemplo n.º 1
0
        public void Draw(SpriteBatch spriteBatch)
        {
            switch (TextureType)
            {
            case DrawType.Ascii:
                asciiTexture.Draw(spriteBatch);
                break;

            case DrawType.Normal:
                normalTexture.Draw(spriteBatch);
                break;

            default:
                throw new ArgumentOutOfRangeException();
            }
        }