C# Class MonoGameConsole.InputProcessor

Mostra file Open project: romanov/MonoGame-Console Class Usage Examples

Public Methods

Method Description
AddToBuffer ( string text ) : void
AddToOutput ( string text ) : void
AutoComplete ( ) : void
EventInput_KeyDown ( object sender, System e ) : void
ExecuteBuffer ( ) : void
InputProcessor ( CommandProcesser commandProcesser, GameWindow window ) : System
ToggleConsole ( ) : void

Private Methods

Method Description
GetGameWindow ( ) : Form

Force application to find current app window controls with System.Windows.Forms (Windows)

GetMatchingCommand ( string command ) : IConsoleCommand
IsPrintable ( char letter ) : bool
form_KeyPress ( Object sender, KeyPressEventArgs e ) : void

Method Details

AddToBuffer() public method

public AddToBuffer ( string text ) : void
text string
return void

AddToOutput() public method

public AddToOutput ( string text ) : void
text string
return void

AutoComplete() public method

public AutoComplete ( ) : void
return void

EventInput_KeyDown() public method

public EventInput_KeyDown ( object sender, System e ) : void
sender object
e System
return void

ExecuteBuffer() public method

public ExecuteBuffer ( ) : void
return void

InputProcessor() public method

public InputProcessor ( CommandProcesser commandProcesser, GameWindow window ) : System
commandProcesser CommandProcesser
window Microsoft.Xna.Framework.GameWindow
return System

ToggleConsole() public method

public ToggleConsole ( ) : void
return void