optional sprites for entities
This commit is contained in:
parent
cee4d02ce2
commit
d58614b106
13 changed files with 48 additions and 37 deletions
|
|
@ -30,6 +30,7 @@ pub struct Equippable {
|
|||
#[derive(Deserialize, Debug)]
|
||||
pub struct Renderable {
|
||||
pub glyph: String,
|
||||
pub sprite: Option<usize>,
|
||||
pub fg: String,
|
||||
pub bg: String,
|
||||
pub order: i32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue