use std::time::Duration; use bevy::{ ecs::system::{ Query, Res, ResMut, Resource }, time::{ Time, Timer } }; use super::health::Health; // 🍗 #[derive(Resource, Default)] pub struct HungerTimer(Timer); // A timer to track the hunger of entities // Function to decrease the hunger of entities over time pub fn decrease_hunger( time: Res