Untitled
public text v1 · immutableenum ENTITY_TYPE{ET_OBJECT,ET_LAND,ET_AI};
struct Entity {
int x;
int y;
int z;
c8 model;
ENTITY_TYPE type;
}
Entity* entity = new Entity();
entity.type = ET_OBJECT;enum ENTITY_TYPE{ET_OBJECT,ET_LAND,ET_AI};
struct Entity {
int x;
int y;
int z;
c8 model;
ENTITY_TYPE type;
}
Entity* entity = new Entity();
entity.type = ET_OBJECT;