Basic wood chopping
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
|
||||
#include "components.h"
|
||||
|
||||
typedef struct Game Game;
|
||||
|
||||
void entityClearTasks(const ecs_entity_t entity);
|
||||
bool entitySetPath(const ecs_entity_t entity, const Vector2 target, Game *game);
|
||||
|
||||
|
||||
/**********************************
|
||||
* Entity Systems
|
||||
@@ -12,8 +17,7 @@
|
||||
|
||||
/* Observer (for unregistering collision)
|
||||
* 0: Game (singleton)
|
||||
* 1: Position
|
||||
* 3: SpatialGridID
|
||||
* 1: SpatialGridID
|
||||
*/
|
||||
void entitySpatialRemove(ecs_iter_t *it);
|
||||
|
||||
@@ -63,6 +67,14 @@ void entityMoveToTarget(ecs_iter_t *it);
|
||||
*/
|
||||
void entityFollowPath(ecs_iter_t *it);
|
||||
|
||||
/*
|
||||
* 0: Game (for pathfinding)
|
||||
* 1: Position
|
||||
* 2: Rotation
|
||||
* 3: HarvestTask
|
||||
*/
|
||||
void entityHarvestTaskSystem(ecs_iter_t *it);
|
||||
|
||||
/*
|
||||
* 1: Velocity
|
||||
* 2: AnimationType
|
||||
|
||||
Reference in New Issue
Block a user