IConsole Interface |
Namespace: DigitalRune.Game.UI.Consoles
The IConsole type exposes the following members.
Name | Description | |
---|---|---|
Clear |
Clears the console.
| |
WriteLine |
Writes an empty line in the console.
| |
WriteLine(String) |
Writes a line of text in the console.
|
Name | Description | |
---|---|---|
Interpreter |
Gets the default command interpreter.
| |
Prompt |
Gets or sets the prompt text.
|
Name | Description | |
---|---|---|
CommandEntered |
Event raised after a command was entered.
|
If the user enters a command, the CommandEntered event is raised. If this event is not handled (see Handled), the Interpreter handles the command.
To add new commands, you can either handle the CommandEntered event, or add new commands to the Interpreter (see Commands).