aboutsummaryrefslogtreecommitdiffstats
path: root/src/entity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.h')
-rw-r--r--src/entity.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/entity.h b/src/entity.h
index b7c458e..45036d4 100644
--- a/src/entity.h
+++ b/src/entity.h
@@ -24,11 +24,11 @@ typedef enum Selection Selection;
typedef struct Entity Entity;
-typedef InteractionCommand (*InteractionCallback)(Entity* entity, Game* game,
- Selection selection);
typedef void (*InitEntityCallback)(Entity* entity);
typedef void (*UpdateEntityCallback)(Entity* entity, Game* game);
typedef void (*CloseEntityCallback)(Entity* entity);
+typedef InteractionCommand (*InteractionCallback)(Entity* entity, Game* game,
+ Selection selection);
enum {
ENTITY_NONE = -1,
@@ -72,12 +72,6 @@ struct Entity {
void* data;
};
-typedef struct {
- EntityId id;
- AssetId texture;
- int count;
-} EntityItem;
-
// Cubemap based building.
typedef struct {
Model model;