C# Class Protogame.ClientConsole

Inheritance: IConsole
显示文件 Open project: RedpointGames/Protogame

Public Methods

Method Description
ClientConsole ( IConsoleInput consoleInput, IConsoleRender consoleRender ) : System
Log ( string message ) : void
LogStructured ( INode node, ConsoleLogLevel logLevel, string format, object args ) : void
LogStructured ( INode node, string format, object args ) : void
Render ( IGameContext gameContext, IRenderContext renderContext ) : void
Toggle ( ) : void
Update ( IGameContext gameContext, IUpdateContext updateContext ) : void

Private Methods

Method Description
LogInternal ( ConsoleEntry consoleEntry ) : void

Method Details

ClientConsole() public method

public ClientConsole ( IConsoleInput consoleInput, IConsoleRender consoleRender ) : System
consoleInput IConsoleInput
consoleRender IConsoleRender
return System

Log() public method

public Log ( string message ) : void
message string
return void

LogStructured() public method

public LogStructured ( INode node, ConsoleLogLevel logLevel, string format, object args ) : void
node INode
logLevel ConsoleLogLevel
format string
args object
return void

LogStructured() public method

public LogStructured ( INode node, string format, object args ) : void
node INode
format string
args object
return void

Render() public method

public Render ( IGameContext gameContext, IRenderContext renderContext ) : void
gameContext IGameContext
renderContext IRenderContext
return void

Toggle() public method

public Toggle ( ) : void
return void

Update() public method

public Update ( IGameContext gameContext, IUpdateContext updateContext ) : void
gameContext IGameContext
updateContext IUpdateContext
return void