diff options
| author | troido <troido@protonmail.com> | 2020-09-28 21:34:12 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-09-28 21:34:12 +0200 |
| commit | 5af83beb6f10023cef7eba192a0b190518fe967b (patch) | |
| tree | 5d559de847d3492999496651ec52136dd31f58a4 /src/components/mod.rs | |
| parent | b7187e210ae7e794c87ae2f76d0f212e5d716b15 (diff) | |
better type validation and spawners set home argument on their spawned template
Diffstat (limited to 'src/components/mod.rs')
| -rw-r--r-- | src/components/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/mod.rs b/src/components/mod.rs index 34630e4..f3a91d5 100644 --- a/src/components/mod.rs +++ b/src/components/mod.rs @@ -170,6 +170,7 @@ pub struct MonsterAI { pub move_chance: f64, pub view_distance: i64, pub homesickness: f64, + pub home: Option<Pos> } #[derive(Component, Debug, Clone, Default)] |
