entity thawing and freezing on level change

This commit is contained in:
Llywelwyn 2023-08-13 09:36:02 +01:00
parent dab0683ffd
commit 2a8691efff
4 changed files with 61 additions and 52 deletions

View file

@ -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,