Add entity_factory

This commit is contained in:
2024-01-04 16:40:39 +01:00
parent c83f0fb666
commit cc6b1c1a35
7 changed files with 81 additions and 48 deletions

11
game/entity_factory.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef PIXELDEFENSE_ENTITY_FACTORY_H
#define PIXELDEFENSE_ENTITY_FACTORY_H
#include "components.h"
#include "game_state.h"
ecs_entity_t entityCreateEmpty();
ecs_entity_t entityCreateWorker(const Position position, Game *game);
#endif //PIXELDEFENSE_ENTITY_FACTORY_H