zara 1.0.0

Zara survival engine
Documentation
1
2
3
4
5
6
7
8
9
use crate::ZaraController;
use crate::utils::event::Listener;

impl<E: Listener + 'static> ZaraController<E> {
    /// State of this character
    pub fn is_alive(&self) -> bool { self.health.is_alive() }
    /// Is this instance paused (all `update` calls are ignored)
    pub fn is_paused(&self) -> bool{ self.is_paused.get() }
}