diff --git a/src/command.rs b/src/command.rs deleted file mode 100644 index b7cbda5..0000000 --- a/src/command.rs +++ /dev/null @@ -1,10 +0,0 @@ -/// A command that can change application or game state -pub(crate) enum Cmd { - /// Quit the application - QuitApp, - ToggleFreecam, - TeleportPlayer {}, - TeleportPlayerSpawn, - GiveItemByName(), -} -pub(crate) type CmdVec = Vec; diff --git a/src/main.rs b/src/main.rs index e778bbd..0b2bb1e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,9 +1,7 @@ -use command::CmdVec; use debug::DebugState; use egui_sfml::SfEgui; use game::GameState; -mod command; mod debug; mod game; mod tiles; @@ -14,7 +12,6 @@ pub(crate) struct App { pub(crate) debug: DebugState, /// Integer scale for rendering the game pub(crate) scale: u8, - pub(crate) cmdvec: CmdVec, } impl App { pub(crate) fn new() -> anyhow::Result {