SadConsole.CellAppearance.CellAppearance C# (CSharp) Method

CellAppearance() public method

Creates a new instance of the cell appearance with the specified colors and effect.
public CellAppearance ( Microsoft.Xna.Framework.Color foreground, Microsoft.Xna.Framework.Color background, int glyphIndex, SpriteEffects spriteEffect ) : System.Runtime.Serialization
foreground Microsoft.Xna.Framework.Color The foreground color of the cell appearance.
background Microsoft.Xna.Framework.Color The background color of the cell appearance.
glyphIndex int The glyph of the cell appearance.
spriteEffect SpriteEffects The sprite mirror effect of the cell appearance.
return System.Runtime.Serialization
        public CellAppearance(Color foreground, Color background, int glyphIndex, SpriteEffects spriteEffect)
        {
            this.Foreground = foreground;
            this.Background = background;
            this.GlyphIndex = glyphIndex;
            this.SpriteEffect = spriteEffect;
        }

Same methods

CellAppearance::CellAppearance ( ) : System.Runtime.Serialization
CellAppearance::CellAppearance ( Microsoft.Xna.Framework.Color foreground, Microsoft.Xna.Framework.Color background ) : System.Runtime.Serialization
CellAppearance::CellAppearance ( Microsoft.Xna.Framework.Color foreground, Microsoft.Xna.Framework.Color background, int glyphIndex ) : System.Runtime.Serialization