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.
This commit is contained in:
Griffin Smith 2019-07-14 14:29:55 -04:00
parent 081146da30
commit e7ad87c730
9 changed files with 306 additions and 5 deletions

View file

@ -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};