diff options
author | Griffin Smith <root@gws.fyi> | 2019-07-14T18·29-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-07-14T18·29-0400 |
commit | e7ad87c7301f266dece36e7558c0f212e370aac6 (patch) | |
tree | 7da150d5648cc0b17d973bf4a30673f36b20be82 /src/entities/mod.rs | |
parent | 081146da30bcf1a17d9533c3dc9c735a3a558165 (diff) |
Add (statically-included) entity raws
Add a system for statically-included entity raws (which necessitated making a deserializable existential Color struct) and test it out by initializing the game (for now) with a single on-screen gormlak.
Diffstat (limited to 'src/entities/mod.rs')
-rw-r--r-- | src/entities/mod.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/entities/mod.rs b/src/entities/mod.rs index a23b15eef34c..c4f46bf4a723 100644 --- a/src/entities/mod.rs +++ b/src/entities/mod.rs @@ -1,7 +1,15 @@ pub mod character; +pub mod creature; +pub mod entity_char; +pub mod raws; + +pub use character::Character; +pub use creature::Creature; +pub use entity_char::EntityChar; +pub use raws::raw; + use crate::display::Draw; use crate::types::{Positioned, PositionedMut}; -pub use character::Character; use downcast_rs::Downcast; use std::io::{self, Write}; |