Struct entmet_lib::entities::entity::Panda
source · pub struct Panda {
pub breed_timer: i32,
pub sneeze_timer: i32,
pub eat_timer: i32,
pub main_gene: PandaGene,
pub hidden_gene: PandaGene,
pub info: Mask<PandaInfo>,
/* private fields */
}Expand description
An instance of a panda
Fields§
§breed_timer: i32the current breed timer
sneeze_timer: i32The timer until the sneeze ends
eat_timer: i32The timer until the eat animation ends
main_gene: PandaGeneThe main gene of the Panda
The hidden gene of the panda
info: Mask<PandaInfo>A mask of all states of the panda
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Panda
impl RefUnwindSafe for Panda
impl Send for Panda
impl Sync for Panda
impl Unpin for Panda
impl UnwindSafe for Panda
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more