Implement crouching (#62)
Reviewed-on: #62 Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #62.
This commit is contained in:
@@ -41,6 +41,7 @@ pub mod run;
|
||||
pub mod turn;
|
||||
pub mod wait;
|
||||
pub mod walk;
|
||||
pub mod crouch;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Hash, PartialEq, Eq)]
|
||||
pub enum SurfacePolicy {
|
||||
@@ -211,6 +212,7 @@ impl CollisionContext<'_> {
|
||||
fighter_states! {
|
||||
Wait => wait::WaitState,
|
||||
Walk => walk::WalkState,
|
||||
Crouch => crouch::CrouchState,
|
||||
Dash => dash::DashState,
|
||||
Run => run::RunState,
|
||||
Fall => fall::FallState,
|
||||
|
||||
Reference in New Issue
Block a user