From 8d7e77fc4aaf081e156593c62db35ffd4c19318e Mon Sep 17 00:00:00 2001 From: thermatix Date: Sat, 29 Sep 2018 18:45:01 +0100 Subject: [PATCH] Adds entity_builder --- src/sys/entity_builder/builder.rs | 6 ++++++ src/sys/entity_builder/mod.rs | 3 +++ src/sys/mod.rs | 2 ++ src/sys/template_manager/manager.rs | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 src/sys/entity_builder/builder.rs create mode 100644 src/sys/entity_builder/mod.rs diff --git a/src/sys/entity_builder/builder.rs b/src/sys/entity_builder/builder.rs new file mode 100644 index 0000000..a5be7c3 --- /dev/null +++ b/src/sys/entity_builder/builder.rs @@ -0,0 +1,6 @@ + + + +pub struct Builder { + +} diff --git a/src/sys/entity_builder/mod.rs b/src/sys/entity_builder/mod.rs new file mode 100644 index 0000000..4d9eb50 --- /dev/null +++ b/src/sys/entity_builder/mod.rs @@ -0,0 +1,3 @@ +mod builder; + +pub use self::builder::Builder; diff --git a/src/sys/mod.rs b/src/sys/mod.rs index 843511a..dabad93 100644 --- a/src/sys/mod.rs +++ b/src/sys/mod.rs @@ -1,5 +1,7 @@ mod entity_manager; mod template_manager; +mod entity_builder; pub use self::entity_manager::Manager as EntityManager; pub use self::template_manager::Manager as TemplateManager; +pub use self::entity_builder::Builder; diff --git a/src/sys/template_manager/manager.rs b/src/sys/template_manager/manager.rs index 6c8e6c0..ac70f8f 100644 --- a/src/sys/template_manager/manager.rs +++ b/src/sys/template_manager/manager.rs @@ -2,7 +2,7 @@ use std::fs; use std::ops::Range; use std::collections::HashMap; -use serde::Deserializer; +// use serde::Deserializer; use config_rs::{ConfigError, Config, File}; #[allow(non_camel_case_types)]