entity thawing and freezing on level change
This commit is contained in:
parent
dab0683ffd
commit
2a8691efff
4 changed files with 61 additions and 52 deletions
|
|
@ -23,6 +23,13 @@ pub struct Position {
|
|||
pub y: i32,
|
||||
}
|
||||
|
||||
#[derive(Component, Serialize, Deserialize, Clone)]
|
||||
pub struct OtherLevelPosition {
|
||||
pub x: i32,
|
||||
pub y: i32,
|
||||
pub id: i32,
|
||||
}
|
||||
|
||||
#[derive(Component, ConvertSaveload, Clone)]
|
||||
pub struct Renderable {
|
||||
pub glyph: rltk::FontCharType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue