Add MyTurn component
This commit is contained in:
parent
107f190a39
commit
3def036868
@ -49,3 +49,6 @@ pub struct Carnivore {}
|
|||||||
|
|
||||||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||||
pub struct Herbivore {}
|
pub struct Herbivore {}
|
||||||
|
|
||||||
|
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||||
|
pub struct MyTurn {}
|
||||||
|
@ -474,6 +474,7 @@ fn main() -> ::rltk::BError {
|
|||||||
MagicMapper,
|
MagicMapper,
|
||||||
MeleeWeapon,
|
MeleeWeapon,
|
||||||
Monster,
|
Monster,
|
||||||
|
MyTurn,
|
||||||
Name,
|
Name,
|
||||||
NaturalAttackDefense,
|
NaturalAttackDefense,
|
||||||
OtherLevelPosition,
|
OtherLevelPosition,
|
||||||
|
@ -86,6 +86,7 @@ pub fn save_game(ecs: &mut World) {
|
|||||||
MagicMapper,
|
MagicMapper,
|
||||||
MeleeWeapon,
|
MeleeWeapon,
|
||||||
Monster,
|
Monster,
|
||||||
|
MyTurn,
|
||||||
Name,
|
Name,
|
||||||
NaturalAttackDefense,
|
NaturalAttackDefense,
|
||||||
OtherLevelPosition,
|
OtherLevelPosition,
|
||||||
@ -192,6 +193,7 @@ pub fn load_game(ecs: &mut World) {
|
|||||||
MagicMapper,
|
MagicMapper,
|
||||||
MeleeWeapon,
|
MeleeWeapon,
|
||||||
Monster,
|
Monster,
|
||||||
|
MyTurn,
|
||||||
Name,
|
Name,
|
||||||
NaturalAttackDefense,
|
NaturalAttackDefense,
|
||||||
OtherLevelPosition,
|
OtherLevelPosition,
|
||||||
|
Loading…
Reference in New Issue
Block a user