aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-10-27 12:58:37 +0000
committernathan <nathansmith@disroot.org>2025-10-27 12:58:37 +0000
commit95af9c76abef62466dc99cd48fe60d5c8c0677aa (patch)
tree016e9b8ca2681603512980bb32b571db6b530e10 /src/entities
parent5925230971875ba3e6e591f0655cf84b739b50fc (diff)
downloadFindThings-95af9c76abef62466dc99cd48fe60d5c8c0677aa.tar.gz
FindThings-95af9c76abef62466dc99cd48fe60d5c8c0677aa.tar.bz2
FindThings-95af9c76abef62466dc99cd48fe60d5c8c0677aa.zip
Working on interaction stuff
Diffstat (limited to 'src/entities')
-rw-r--r--src/entities/samantha.c7
-rw-r--r--src/entities/samantha.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/src/entities/samantha.c b/src/entities/samantha.c
index a78b075..c8f08f6 100644
--- a/src/entities/samantha.c
+++ b/src/entities/samantha.c
@@ -19,3 +19,10 @@ void updateSamantha(Entity* entity, Game* game)
DrawModel(game->assets.models[SAMANTHA_MODEL], entity->position, 1.0, WHITE);
}
+
+InteractionCommand interactWithSamantha(Entity* entity, Game* game,
+ Selection selection)
+{
+ puts("test test");
+ return INTERACTION_TALK;
+}
diff --git a/src/entities/samantha.h b/src/entities/samantha.h
index 360c9f0..57587ff 100644
--- a/src/entities/samantha.h
+++ b/src/entities/samantha.h
@@ -12,5 +12,7 @@
void initSamantha(Entity* entity);
void updateSamantha(Entity* entity, Game* game);
+InteractionCommand interactWithSamantha(Entity* entity, Game* game,
+ Selection selection);
#endif