JacksEscape/Entity.h

28 lines
326 B
C

#pragma once
#include <stdint.h>
#include "util/vector.h"
#include "Physics_Component.h"
#ifdef __cplusplus
extern "C" {
#endif
// Entity.
typedef struct _Entity {
uintptr_t id;
uintptr_t type;
const char *name;
Component_Position *position;
Component_Hitbox *hitbox;
} Entity;
#ifdef __cplusplus
}
#endif