Struct entmet_lib::entities::entity::Wolf
source · pub struct Wolf {
pub begging: bool,
pub collar_color: Color,
pub anger_time: i32,
/* private fields */
}Expand description
An instance of a wolf
Fields§
§begging: boolWhether it is begging or not
collar_color: ColorThe color of its collar
anger_time: i32The amount of ticks, that it still is angry
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Wolf
impl RefUnwindSafe for Wolf
impl Send for Wolf
impl Sync for Wolf
impl Unpin for Wolf
impl UnwindSafe for Wolf
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