forked from nonsensical-dev/zenyx-engine
ZLUA REPL!!!!! (#18)
This commit is contained in:
parent
f286a2b624
commit
3766da6bcf
6 changed files with 106 additions and 13 deletions
|
@ -1,4 +1,6 @@
|
|||
use commands::{ClearCommand, CounterCommand, ExecFile, ExitCommand, HelpCommand, PanicCommmand};
|
||||
use commands::{
|
||||
ClearCommand, CounterCommand, ExecFile, ExitCommand, HelpCommand, PanicCommmand, ZLua,
|
||||
};
|
||||
use handler::{COMMAND_MANAGER, Category};
|
||||
|
||||
use crate::commands;
|
||||
|
@ -13,7 +15,8 @@ pub fn setup() {
|
|||
ClearCommand,
|
||||
ExitCommand,
|
||||
CounterCommand,
|
||||
PanicCommmand
|
||||
PanicCommmand,
|
||||
ZLua
|
||||
);
|
||||
let cat = Category::new("cr", "Core", "Core commands");
|
||||
COMMAND_MANAGER.write().add_category(cat.clone());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue