Add entity rotation
This commit is contained in:
@@ -24,6 +24,7 @@ bool initEntityObjectsLayer(BzTileMap *map, BzTileObjectGroup *objectGroup) {
|
||||
if (!objectTileset) return true;
|
||||
|
||||
for (i32 i = 0; i < objectGroup->objectCount; i++) {
|
||||
if (i == 1) break;
|
||||
BzTileObject object = objectGroup->objects[i];
|
||||
ecs_entity_t e = ecs_new_id(ECS);
|
||||
game->entity = e;
|
||||
|
||||
Reference in New Issue
Block a user