pub struct AbilityEditorExtendedState {Show 13 fields
pub hotbar: AbilityHotbar,
pub combo_manager: ComboManager,
pub area_denial_manager: AreaDenialManager,
pub aura_manager: AuraManager,
pub dot_tracker: DotTracker,
pub unlock_book: AbilityUnlockBook,
pub cast_queue: AbilityCastQueue,
pub runtime_mods: RuntimeAbilityModStack,
pub immunity_trackers: HashMap<u64, StatusImmunityTracker>,
pub selected_ability_tags: HashSet<AbilityTag>,
pub tag_filter: Option<AbilityTagFilter>,
pub parabolic_preview: Option<Vec<Vec3>>,
pub los_occluders: Vec<OccluderSegment>,
}Fields§
§hotbar: AbilityHotbar§combo_manager: ComboManager§area_denial_manager: AreaDenialManager§aura_manager: AuraManager§dot_tracker: DotTracker§unlock_book: AbilityUnlockBook§cast_queue: AbilityCastQueue§runtime_mods: RuntimeAbilityModStack§immunity_trackers: HashMap<u64, StatusImmunityTracker>§tag_filter: Option<AbilityTagFilter>§parabolic_preview: Option<Vec<Vec3>>§los_occluders: Vec<OccluderSegment>Implementations§
Source§impl AbilityEditorExtendedState
impl AbilityEditorExtendedState
pub fn new() -> Self
pub fn update(&mut self, dt: f32, current_time: f32)
pub fn abilities_matching_filter(&self, database: &AbilityDatabase) -> Vec<u64>
pub fn preview_parabolic_arc( &mut self, origin: Vec3, target: Vec3, params: &ParabolicArcParams, )
pub fn check_los( &self, origin: Vec2, target: Vec2, caster_height: f32, target_height: f32, ) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AbilityEditorExtendedState
impl RefUnwindSafe for AbilityEditorExtendedState
impl Send for AbilityEditorExtendedState
impl Sync for AbilityEditorExtendedState
impl Unpin for AbilityEditorExtendedState
impl UnsafeUnpin for AbilityEditorExtendedState
impl UnwindSafe for AbilityEditorExtendedState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.