|
group2 0.1.0
CSE 125 Group 2
|
Locomotion mode + wall-side enums shared by PlayerVisState and PlayerSimState. More...
#include <cstdint>Go to the source code of this file.
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... | |
Locomotion mode + wall-side enums shared by PlayerVisState and PlayerSimState.
Split out of the original PlayerState.hpp as part of Phase 2 of the networking overhaul. Both the replicated half (PlayerVisState — includes moveMode + wallRunSide) and the server-only half (PlayerSimState — refers to WallSide via blacklist logic) need these enum types, so they live in a small leaf header to avoid a circular include between the two state structs.
|
strong |
Movement mode — mutually exclusive locomotion states.
|
strong |