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:
parent
081146da30
commit
e7ad87c730
9 changed files with 306 additions and 5 deletions
|
|
@ -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};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue