Make dashback configurable, fix movement bugs, add double jump forward and back.
This commit is contained in:
@@ -1,14 +1,9 @@
|
||||
use crate::{
|
||||
fighter::{
|
||||
animation::AnimKind,
|
||||
collision,
|
||||
state::{
|
||||
FighterState, FighterStateContext, FighterStateImpl, air, fall::FallState,
|
||||
ground::GroundedStateCommon, land::LandingState,
|
||||
animation::AnimKind, collision, state::{
|
||||
FighterState, FighterStateContext, FighterStateImpl, air, fall::FallState, ground::GroundedStateCommon, land::{LandingState, LandingType},
|
||||
},
|
||||
},
|
||||
input,
|
||||
math::vec::FGVec2,
|
||||
}, input, math::vec::FGVec2,
|
||||
};
|
||||
|
||||
#[derive(Debug, Clone, Hash)]
|
||||
@@ -47,7 +42,7 @@ impl FighterStateImpl for AirDodgeState {
|
||||
let grounded_common = GroundedStateCommon {
|
||||
current_line_id: res.line_id,
|
||||
};
|
||||
Some(FighterState::Land(LandingState { grounded_common }))
|
||||
Some(FighterState::Land(LandingState { grounded_common, landing_type: LandingType::Special }))
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user