refactors hunger system
still works the same way, just cleaner
This commit is contained in:
parent
23a6d5e025
commit
454a8c7028
4 changed files with 120 additions and 53 deletions
|
|
@ -130,6 +130,7 @@ pub enum HungerState {
|
|||
Hungry,
|
||||
Weak,
|
||||
Fainting,
|
||||
Starving,
|
||||
}
|
||||
|
||||
#[derive(Component, Serialize, Deserialize, Clone)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue