group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
PlayerState.hpp File Reference

Player locomotion state component for movement systems. More...

#include <glm/vec2.hpp>
#include <glm/vec3.hpp>
Include dependency graph for PlayerState.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PlayerState
 Locomotion state for a player entity. More...
 

Enumerations

enum class  MoveMode : uint8_t {
  OnFoot , Sliding , WallRunning , Climbing ,
  LedgeGrabbing
}
 Movement mode — mutually exclusive locomotion states. More...
 
enum class  WallSide : uint8_t { None , Left , Right }
 Which side a wall is on relative to the player. More...
 

Detailed Description

Player locomotion state component for movement systems.

Enumeration Type Documentation

◆ MoveMode

enum class MoveMode : uint8_t
strong

Movement mode — mutually exclusive locomotion states.

Enumerator
OnFoot 

Normal ground/air movement (walk, sprint, crouch, airborne).

Sliding 

Momentum slide on the ground.

WallRunning 

Running along a wall surface.

Climbing 

Climbing vertically up a wall.

LedgeGrabbing 

Holding onto a ledge at the top of a wall.

◆ WallSide

enum class WallSide : uint8_t
strong

Which side a wall is on relative to the player.

Enumerator
None 
Left 
Right