Implemented commandExecutor logic

This commit is contained in:
2026-01-28 23:33:22 +01:00
parent 63abf41094
commit 1df6cd4c5e
6 changed files with 68 additions and 2 deletions
+2
View File
@@ -1,4 +1,5 @@
pub mod benchmark;
pub mod commands;
pub mod console;
pub use benchmark::*;
@@ -29,6 +30,7 @@ pub trait Engine {
fn render_view(&self, area: &Area, view: &View) -> DrawContext;
fn draw_context(&self, ctx: &DrawContext);
fn executor(&self) -> Arc<dyn CommandExecutor>;
}
pub trait Command {