pub struct Monster {
pub name: String,
pub in_story: bool,
pub locations: Vec<MapLocation>,
pub skills: Vec<String>,
pub growth: Growth,
pub family: String,
}
Expand description
The info of a monster
Fields§
§name: String
Name of the monster
in_story: bool
Whether the monster can be find in the story maps
locations: Vec<MapLocation>
Spawn location of the monster. Only monsters with in_story == true
has this.
skills: Vec<String>
Natural skills of the monster
growth: Growth
Monster growth data
family: String
Family the monster belongs to
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Monster
impl Send for Monster
impl Sync for Monster
impl Unpin for Monster
impl UnwindSafe for Monster
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