pub enum Action {
Show 16 variants
Stand,
Crouch,
Walk {
forward: bool,
},
Run,
BackDash {
frame: u16,
},
Prejump {
frame: u8,
dir_x: i32,
hop: bool,
},
Jump {
air_ok: bool,
hop: bool,
},
Attack {
move_id: MoveId,
frame: u16,
connected: Connect,
},
Feint {
frame: u16,
},
Block {
crouching: bool,
stun: u8,
},
Hit {
stun: u8,
knockdown: bool,
},
Knockdown {
frame: u16,
},
Getup {
frame: u16,
},
Thrown {
frame: u8,
techable: bool,
damage: i32,
meter: i32,
},
ThrowTech {
frame: u16,
},
Landing {
frame: u16,
total: u16,
},
}Variants§
Stand
Crouch
Walk
Run
BackDash
Prejump
Jump
Attack
Feint
FL+ST during a special’s startup: the special never came.
Block
Hit
Knockdown
Getup
Thrown
Grabbed. Resolves into damage + knockdown unless teched in time.
ThrowTech
Landing
Implementations§
Source§impl Action
impl Action
pub fn attacking(&self) -> Option<(MoveId, u16, Connect)>
pub fn in_hitstun(&self) -> bool
pub fn in_blockstun(&self) -> bool
pub fn actionable(&self) -> bool
pub fn is_hop(&self) -> bool
Sourcepub fn throw_protected(&self) -> bool
pub fn throw_protected(&self) -> bool
Cannot be thrown: airborne handled separately; stunned, downed, already grabbed, or teching bodies are throw-protected.
pub fn name(&self) -> &'static str
Trait Implementations§
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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