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