1
0
Fork 0

Add MyTurn component

This commit is contained in:
Timothy Warren 2022-01-11 09:33:21 -05:00
parent 107f190a39
commit 3def036868
3 changed files with 6 additions and 0 deletions

View File

@ -49,3 +49,6 @@ pub struct Carnivore {}
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
pub struct Herbivore {}
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
pub struct MyTurn {}

View File

@ -474,6 +474,7 @@ fn main() -> ::rltk::BError {
MagicMapper,
MeleeWeapon,
Monster,
MyTurn,
Name,
NaturalAttackDefense,
OtherLevelPosition,

View File

@ -86,6 +86,7 @@ pub fn save_game(ecs: &mut World) {
MagicMapper,
MeleeWeapon,
Monster,
MyTurn,
Name,
NaturalAttackDefense,
OtherLevelPosition,
@ -192,6 +193,7 @@ pub fn load_game(ecs: &mut World) {
MagicMapper,
MeleeWeapon,
Monster,
MyTurn,
Name,
NaturalAttackDefense,
OtherLevelPosition,