Midnight Blue Game and Engine
|
Shows or hides the debug console More...
Public Member Functions | |
ConsoleCommand (Keys key, CommandType type) | |
Initializes a new instance of the T:MB2D.IO.ConsoleCommand class. More... | |
Public Member Functions inherited from MB2D.IO.Command | |
bool | Execute (Entity e=null) |
Executes the specific command on the entity parameter More... | |
Protected Member Functions | |
override void | OnKeyPress (Entity e=null) |
Toggles the debug console open/closed More... | |
Protected Member Functions inherited from MB2D.IO.Command | |
Command (Keys key, CommandType commandType) | |
Initializes a new instance of the T:MidnightBlue.Command class. More... | |
Additional Inherited Members | |
Properties inherited from MB2D.IO.Command | |
CommandType | Type [get, set] |
Gets or sets the trigger type of the command. More... | |
Keys | Key [get] |
Gets the keycode associated with the command. More... | |
bool | Disabled [get, set] |
Shows or hides the debug console
|
inline |
Initializes a new instance of the T:MB2D.IO.ConsoleCommand class.
key | Key to assign the command to. |
type | Type of command trigger. |
|
inlineprotectedvirtual |
Toggles the debug console open/closed
e | Entity with the controller component. Unused. |
Implements MB2D.IO.Command.