public AsciiTexture ToAscii(Dictionary <Color, Color> conversionMap, string drawMode)
        {
            var asciiTexture = new AsciiTexture(this,
                                                ImageProcessor.ConvertTextureToAscii(texture, conversionMap), Position, drawMode);

            return(asciiTexture);
        }
Ejemplo n.º 2
0
        public DualTexture(GameTexture texture, Dictionary <Color, Color> conversionMap, string drawMode)
        {
            normalTexture = texture;

            asciiTexture = normalTexture.ToAscii(conversionMap, drawMode);
        }