Add waveland snapping (#95)
Reviewed-on: #95 Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #95.
This commit is contained in:
@@ -43,12 +43,13 @@ impl FighterStateImpl for AngelState {
|
||||
|
||||
fn check_collision_interrupt(
|
||||
&mut self,
|
||||
_state_context: &mut super::CollisionContext,
|
||||
state_context: &mut super::CollisionContext,
|
||||
) -> Option<super::FighterState> {
|
||||
state_context.apply_desired_ecb();
|
||||
None
|
||||
}
|
||||
|
||||
fn surface_policy(&self) -> super::SurfacePolicy {
|
||||
super::SurfacePolicy::Airborne(crate::fighter::surface::EcbLockPolicy::Clear)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user