C# Class Protogame.ClientConsoleInput

Inheritance: IConsoleInput
Show file Open project: RedpointGames/Protogame

Public Methods

Method Description
ClientConsoleInput ( IKeyboardStringReader keyboardStringReader, IKernel kernel ) : System
Update ( IGameContext gameContext, IUpdateContext updateContext, Action logInternal ) : void

Private Methods

Method Description
Execute ( IGameContext gameContext, ParsedCommand parsedCommand, Action logInternal ) : void
Parse ( string input ) : ParsedCommand

Method Details

ClientConsoleInput() public method

public ClientConsoleInput ( IKeyboardStringReader keyboardStringReader, IKernel kernel ) : System
keyboardStringReader IKeyboardStringReader
kernel IKernel
return System

Update() public method

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