C# Class SadConsole.Core.Effects.CodeEffect

Inheritance: SadConsole.Effects.CellEffectBase
Afficher le fichier Open project: Thraka/SadConsole

Méthodes publiques

Свойство Type Description
Duration double
Id string
Tag object
UseDuration bool

Méthodes publiques

Méthode 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 méthode

public Apply ( Cell cell ) : void
cell Cell
Résultat void

Clear() public méthode

public Clear ( Cell cell ) : void
cell Cell
Résultat void

Clone() public méthode

public Clone ( ) : ICellEffect
Résultat ICellEffect

CodeEffect() public méthode

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
Résultat System

Restart() public méthode

public Restart ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Update() public méthode

public Update ( double timeElapsed ) : void
timeElapsed double
Résultat void

Property Details

Duration public_oe property

public double Duration
Résultat double

Id public_oe property

public string Id
Résultat string

Tag public_oe property

public object Tag
Résultat object

UseDuration public_oe property

public bool UseDuration
Résultat bool