naia-bevy-shared 0.9.1

Library to faciliate naia & Bevy interop, functionality shared by client & server versions
Documentation
pub struct Flag {
    set: bool,
}

impl Flag {
    pub fn new() -> Self {
        Self { set: false }
    }

    pub fn set(&mut self) {
        self.set = true;
    }

    pub fn reset(&mut self) {
        self.set = false;
    }

    pub fn is_set(&self) -> bool {
        return self.set;
    }
}