C# Class SadConsole.Core.Effects.CodeEffect

Inheritance: SadConsole.Effects.CellEffectBase
Show file Open project: Thraka/SadConsole

Public Properties

Property Type Description
Duration double
Id string
Tag object
UseDuration bool

Public Methods

Method Description
Apply ( Cell cell ) : void
Clear ( Cell cell ) : void
Clone ( ) : ICellEffect
CodeEffect ( string id, Cell>.Action apply, Cell>.Action clear, Action update, Action restart ) : System
Restart ( ) : void
ToString ( ) : string
Update ( double timeElapsed ) : void

Method Details

Apply() public method

public Apply ( Cell cell ) : void
cell Cell
return void

Clear() public method

public Clear ( Cell cell ) : void
cell Cell
return void

Clone() public method

public Clone ( ) : ICellEffect
return ICellEffect

CodeEffect() public method

public CodeEffect ( string id, Cell>.Action apply, Cell>.Action clear, Action update, Action restart ) : System
id string
apply Cell>.Action
clear Cell>.Action
update Action
restart Action
return System

Restart() public method

public Restart ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Update() public method

public Update ( double timeElapsed ) : void
timeElapsed double
return void

Property Details

Duration public property

public double Duration
return double

Id public property

public string Id
return string

Tag public property

public object Tag
return object

UseDuration public property

public bool UseDuration
return bool