EffectsManager.ColoredGlyphEffectData Class
Definition
Section titled “Definition”Represents a mapping of a single effect and associated cells.
protected class EffectsManager.ColoredGlyphEffectDataInheritance object
Constructors
Section titled “Constructors”ColoredGlyphEffectData(ICellEffect)
Section titled “ColoredGlyphEffectData(ICellEffect)”Creates a new instance of the cell-effect mapping.
public ColoredGlyphEffectData(ICellEffect effect)Parameters
Section titled “Parameters”effect ICellEffect
The effect.
Fields
Section titled “Fields”Effect
Section titled “Effect”The effect.
public ICellEffect EffectCellsStates
Section titled “CellsStates”The cells affected by the effect.
public List<EffectsManager.ColoredGlyphWithState> CellsStatesMethods
Section titled “Methods”RemoveCell(ColoredGlyphBase, bool)
Section titled “RemoveCell(ColoredGlyphBase, bool)”Removes a cell by index from the effect data.
public void RemoveCell(ColoredGlyphBase cell, bool restoreState)Parameters
Section titled “Parameters”cell ColoredGlyphBase
The cell.
restoreState bool
If true the cell will have its original state restored; otherwise false.
ContainsCell(ColoredGlyphBase)
Section titled “ContainsCell(ColoredGlyphBase)”Returns true when the cell index is already associated with the effect; otherwise false.
public bool ContainsCell(ColoredGlyphBase cell)Parameters
Section titled “Parameters”cell ColoredGlyphBase
The cell to check.
Returns
Section titled “Returns”bool
true to indicate the cell is associated with the effect; otherwise false.