add entity events: on_spawn, on_despawn
This commit is contained in:
@@ -3,12 +3,11 @@
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
class Hitbox {
|
||||
public:
|
||||
struct Hitbox {
|
||||
glm::vec3 position;
|
||||
glm::vec3 halfsize;
|
||||
glm::vec3 velocity;
|
||||
float linear_damping;
|
||||
float linearDamping;
|
||||
bool grounded = false;
|
||||
|
||||
Hitbox(glm::vec3 position, glm::vec3 halfsize);
|
||||
|
||||
Reference in New Issue
Block a user