C# Class SadConsole.StringParser.ParseCommandStacks

A list of behaviors applied as a string is processed.
Mostra 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_oe property

public Stack All
return Stack

Background public_oe property

public Stack Background
return Stack

Effect public_oe property

public Stack Effect
return Stack

Foreground public_oe property

public Stack Foreground
return Stack

Glyph public_oe property

public Stack Glyph
return Stack

SpriteEffect public_oe property

public Stack SpriteEffect
return Stack

TurnOnEffects public_oe property

public bool TurnOnEffects
return bool