[][src]Struct pf_sandbox_lib::fighter::ActionFrame

pub struct ActionFrame {
    pub ecb: ECB,
    pub colboxes: ContextVec<CollisionBox>,
    pub colbox_links: Vec<CollisionBoxLink>,
    pub render_order: Vec<RenderOrder>,
    pub item_hold_x: f32,
    pub item_hold_y: f32,
    pub grab_hold_x: f32,
    pub grab_hold_y: f32,
    pub pass_through: bool,
    pub ledge_cancel: bool,
    pub use_platform_angle: bool,
    pub ledge_grab_box: Option<LedgeGrabBox>,
    pub force_hitlist_reset: bool,
    pub x_vel_modify: VelModify,
    pub y_vel_modify: VelModify,
    pub x_vel_temp: f32,
    pub y_vel_temp: f32,
}

Fields

ecb: ECBcolboxes: ContextVec<CollisionBox>colbox_links: Vec<CollisionBoxLink>render_order: Vec<RenderOrder>item_hold_x: f32item_hold_y: f32grab_hold_x: f32grab_hold_y: f32pass_through: boolledge_cancel: booluse_platform_angle: boolledge_grab_box: Option<LedgeGrabBox>force_hitlist_reset: boolx_vel_modify: VelModify

Affects the next frames velocity

y_vel_modify: VelModify

Affects the next frames velocity

x_vel_temp: f32

Does not affect the next frames velocity

y_vel_temp: f32

Does not affect the next frames velocity

Methods

impl ActionFrame[src]

pub fn get_hitboxes(&self) -> Vec<&CollisionBox>[src]

pub fn get_hurtboxes(&self) -> Vec<&CollisionBox>[src]

pub fn get_colboxes(&self) -> Vec<&CollisionBox>[src]

Returns all collisionboxes and linked collisionboxes collisionboxes referenced by a link are not included individually

Trait Implementations

impl Clone for ActionFrame[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for ActionFrame[src]

impl Serialize for ActionFrame[src]

impl<'de> Deserialize<'de> for ActionFrame[src]

impl Node for ActionFrame[src]

Auto Trait Implementations

impl Send for ActionFrame

impl Sync for ActionFrame

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self