pub struct Wave {
pub wave_number: Option<usize>,
pub total_cost: usize,
pub mobs: Vec<MobType>,
}Expand description
A single wave, i.e. a set of mobs for a given max cost!
Fields§
§wave_number: Option<usize>Optional wave nr.!
total_cost: usizeTotal real cost of this wave. Might be a bit lower than the max cost if there is no mob to buy for the leftover budget!
mobs: Vec<MobType>List of mobs for this wave!
Implementations§
Trait Implementations§
impl StructuralPartialEq for Wave
Auto Trait Implementations§
impl Freeze for Wave
impl RefUnwindSafe for Wave
impl Send for Wave
impl Sync for Wave
impl Unpin for Wave
impl UnwindSafe for Wave
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