Skip to content

Delay Class

An effect that doesn’t do anything except run the StartDelay timer. Usually used with the EffectSet effect.

C#
[DataContract]
public class Delay : CellEffectBase, ICellEffect

Inheritance objectCellEffectBase

Implements ICellEffect

C#
public Delay()

Updates the state of the effect.

C#
public override void Update(TimeSpan delta)

delta TimeSpan
Time since the last call to this effect.

ApplyToCell(ColoredGlyphBase, ColoredGlyphBase)

Section titled “ApplyToCell(ColoredGlyphBase, ColoredGlyphBase)”

Applies the state of the effect to a cell.

C#
public override bool ApplyToCell(ColoredGlyphBase cell, ColoredGlyphBase state)

cell ColoredGlyphBase
The surface cell using this effect.

state ColoredGlyphBase

bool
true when this method modified the cell; otherwise false.

Returns a duplicate of this effect.

C#
public override ICellEffect Clone()

ICellEffect
A new copy of this effect.

C#
public override string ToString()

string