C# Class SadConsole.StringParser.ParseCommandStacks

A list of behaviors applied as a string is processed.
Show file Open project: Thraka/SadConsole Class Usage Examples

Public Properties

Property Type Description
All Stack
Background Stack
Effect Stack
Foreground Stack
Glyph Stack
SpriteEffect Stack
TurnOnEffects bool

Public Methods

Method Description
AddSafe ( ParseCommandBase command ) : void

Adds a behavior to the All collection and the collection based on the ParseCommandBase.CommandType type.

ParseCommandStacks ( ) : System
RemoveSafe ( ParseCommandBase command ) : void

Removes a command from the appropriate command stack and from the All stack.

Method Details

AddSafe() public method

Adds a behavior to the All collection and the collection based on the ParseCommandBase.CommandType type.
public AddSafe ( ParseCommandBase command ) : void
command ParseCommandBase
return void

ParseCommandStacks() public method

public ParseCommandStacks ( ) : System
return System

RemoveSafe() public method

Removes a command from the appropriate command stack and from the All stack.
public RemoveSafe ( ParseCommandBase command ) : void
command ParseCommandBase The command to remove
return void

Property Details

All public property

public Stack All
return Stack

Background public property

public Stack Background
return Stack

Effect public property

public Stack Effect
return Stack

Foreground public property

public Stack Foreground
return Stack

Glyph public property

public Stack Glyph
return Stack

SpriteEffect public property

public Stack SpriteEffect
return Stack

TurnOnEffects public property

public bool TurnOnEffects
return bool