Simplify projet structure
This commit is contained in:
parent
44e027f76f
commit
0c1dabb99a
16 changed files with 279 additions and 1860 deletions
10
src/main.rs
10
src/main.rs
|
@ -1,3 +1,11 @@
|
|||
mod engine;
|
||||
pub use engine::Engine;
|
||||
|
||||
mod state;
|
||||
pub use state::State;
|
||||
|
||||
pub mod render;
|
||||
|
||||
use simplelog::{TermLogger, LevelFilter, Config, TerminalMode, ColorChoice};
|
||||
|
||||
fn main() {
|
||||
|
@ -5,6 +13,6 @@ fn main() {
|
|||
println!("Failed to start logger : {}", err);
|
||||
}
|
||||
|
||||
let engine = engine_core::Engine::new("Test 123");
|
||||
let engine = Engine::new("Test 123");
|
||||
pollster::block_on(engine.run());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue