tengri/Content/Movement/Core/E_MovementState.ts

40 lines
732 B
TypeScript

// Movement/Core/E_MovementState.ts
/**
* Movement state enumeration
* Defines all possible character movement states
*
* @category Movement Enums
*/
export enum E_MovementState {
/**
* Character is stationary on ground
* No input, no movement
*/
Idle = 'Idle',
/**
* Character is moving on ground
* Has input and horizontal velocity
*/
Walking = 'Walking',
/**
* Character is in the air
* Not touching ground, affected by gravity
*/
Airborne = 'Airborne',
/**
* Character is sliding down steep slope
* On non-walkable surface (steep slope)
*/
Sliding = 'Sliding',
/**
* Character is blocked by collision
* Hitting wall or ceiling
*/
Blocked = 'Blocked',
}