10#include <glm/gtc/matrix_transform.hpp>
57 std::chrono::time_point<std::chrono::steady_clock> fall_start_time;
58 glm::dvec3 fall_start_position;
Definition: HitBox.hpp:11
HitBox hitbox
Definition: Mob.hpp:41
double fallDuration()
Definition: Mob.cpp:28
Mob & operator=(Mob &&other)=delete
TracyLockableN(std::mutex, mutex, "Mob Mutex")
HitBox feet
Definition: Mob.hpp:42
bool canJump() const
Definition: Mob.cpp:11
int jump_remaining
Definition: Mob.hpp:49
~Mob()
Definition: Mob.cpp:7
glm::dvec3 target_position
Definition: Mob.hpp:51
glm::dvec3 velocity
Definition: Mob.hpp:44
Mob()
Definition: Mob.cpp:3
bool jumping
Definition: Mob.hpp:47
bool should_jump
Definition: Mob.hpp:53
Mob & operator=(Mob &other)=delete
void startFall()
Definition: Mob.cpp:22
bool on_ground
Definition: Mob.hpp:46
void startJump()
Definition: Mob.cpp:16