C# Class SadConsole.StringParser.ParseCommandBase

Base class for a string processor behavior.
Mostrar archivo Open project: Thraka/SadConsole Class Usage Examples

Public Properties

Property Type Description
CommandType CommandTypes

Public Methods

Method Description
Build ( ColoredGlyph &glyphState, ColoredGlyph glyphString, int surfaceIndex, ITextSurface surface, SurfaceEditor editor, int &stringIndex, string processedString, ParseCommandStacks commandStack ) : void

Builds a glyph.

Method Details

Build() public abstract method

Builds a glyph.
public abstract Build ( ColoredGlyph &glyphState, ColoredGlyph glyphString, int surfaceIndex, ITextSurface surface, SurfaceEditor editor, int &stringIndex, string processedString, ParseCommandStacks commandStack ) : void
glyphState ColoredGlyph The current glyph being built.
glyphString ColoredGlyph The current string of glyphs that has been processed until now.
surfaceIndex int Where on the surface this flyph will appear.
surface ITextSurface The surface associated with the glyph.
editor SadConsole.Consoles.SurfaceEditor The editor associated with the surface.
stringIndex int Where in the original string this glyph is from.
processedString string The entire string being processed.
commandStack ParseCommandStacks The state of commands.
return void

Property Details

CommandType public_oe property

Type of command.
public CommandTypes CommandType
return CommandTypes