pub enum Boost {
Harvest(u32),
BuildAndRepair(f32),
Dismantle(u32),
UpgradeController(f32),
Attack(u32),
RangedAttack(u32),
Heal(u32),
Carry(u32),
Move(u32),
Tough(f32),
}
Expand description
Returned values from ResourceType::boost
representing the effect of
boosting a creep with the given resource.
Variants§
Harvest(u32)
BuildAndRepair(f32)
Dismantle(u32)
UpgradeController(f32)
Attack(u32)
RangedAttack(u32)
Heal(u32)
Carry(u32)
Move(u32)
Tough(f32)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Boost
impl Send for Boost
impl Sync for Boost
impl Unpin for Boost
impl UnwindSafe for Boost
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