|
Subastra
|
#include <entity.h>

Data Fields | ||
| entity_kind_t | kind | |
| entity_id_t | self_id | |
| vec2i | chunk_relative_position | |
| vec2 | chunk_local_position | |
| union { | ||
| construct_t as_construct | ||
| struct { | ||
| entity_id_t target | ||
| float scale | ||
| } as_camera | ||
| }; | ||
| union { ... } |
| struct { ... } as_camera |
| construct_t as_construct |
| vec2 chunk_local_position |
| vec2i chunk_relative_position |
| entity_kind_t kind |
| float scale |
| entity_id_t self_id |
| entity_id_t target |