Struct rust_rpg_toolkit::ability::Ability [−][src]
pub struct Ability {Show 13 fields
pub noise_level: NoiseLevel,
pub delivery: AbilityDelivery,
pub sound_effect: Option<Sound>,
pub on_hit_sound_effect: Option<Sound>,
pub cooldown: f32,
pub cooldown_timer: f32,
pub health_cost: f32,
pub stamina_cost: f32,
pub energy_cost: f32,
pub range: f32,
pub effects: Vec<Effect>,
pub color_override: Option<Color>,
pub size_override: Option<f32>,
}
Fields
noise_level: NoiseLevel
delivery: AbilityDelivery
sound_effect: Option<Sound>
on_hit_sound_effect: Option<Sound>
cooldown: f32
cooldown_timer: f32
health_cost: f32
stamina_cost: f32
energy_cost: f32
range: f32
effects: Vec<Effect>
color_override: Option<Color>
size_override: Option<f32>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Ability
impl UnwindSafe for Ability
Blanket Implementations
Mutably borrows from an owned value. Read more