Make dashback configurable, fix movement bugs, add double jump forward and back.
This commit is contained in:
@@ -13,9 +13,7 @@ pub struct WalkState {
|
||||
impl FighterStateImpl for WalkState {
|
||||
const NAME: &'static str = "Walk";
|
||||
fn check_interrupt(&self, state_context: &mut FighterStateContext) -> Option<FighterState> {
|
||||
if let Some(state) = turn::check_input(state_context, &self.grounded_common) {
|
||||
return Some(state);
|
||||
} else if let Some(state) =
|
||||
if let Some(state) =
|
||||
ground::grounded_movement_common_interrupts(state_context, &self.grounded_common)
|
||||
{
|
||||
return Some(state);
|
||||
|
||||
Reference in New Issue
Block a user