C# Class MonoGameConsole.InputProcessor

Afficher le fichier Open project: romanov/MonoGame-Console Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddToBuffer ( string text ) : void
text string
Résultat void

AddToOutput() public méthode

public AddToOutput ( string text ) : void
text string
Résultat void

AutoComplete() public méthode

public AutoComplete ( ) : void
Résultat void

EventInput_KeyDown() public méthode

public EventInput_KeyDown ( object sender, System e ) : void
sender object
e System
Résultat void

ExecuteBuffer() public méthode

public ExecuteBuffer ( ) : void
Résultat void

InputProcessor() public méthode

public InputProcessor ( CommandProcesser commandProcesser, GameWindow window ) : System
commandProcesser CommandProcesser
window Microsoft.Xna.Framework.GameWindow
Résultat System

ToggleConsole() public méthode

public ToggleConsole ( ) : void
Résultat void