Exemple #1
0
        public DualTexture(GameTexture texture, Dictionary <Color, Color> conversionMap, string drawMode)
        {
            normalTexture = texture;

            asciiTexture = normalTexture.ToAscii(conversionMap, drawMode);
        }
Exemple #2
0
 public void SetScale(GameTexture texture)
 {
     scale.X = texture.Width / (UnscaledCharacterSize.X * CharacterWidth);
     scale.Y = texture.Height / (UnscaledCharacterSize.Y * CharacterHeight);
 }