From 546e07855b117b22ae3a5053a5dcfef1183b0718 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Tue, 15 Mar 2022 16:39:46 -0400 Subject: You know who deserves to have moods? Drones. --- src/drone.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/drone.c b/src/drone.c index 188f546..4dbb7ed 100644 --- a/src/drone.c +++ b/src/drone.c @@ -49,6 +49,14 @@ void xas_drone_destroy(xas_drone *drone) { free(drone); } +enum xas_drone_mood xas_drone_mood_get(xas_drone *drone) { + return drone->mood; +} + +void xas_drone_mood_set(xas_drone *drone, enum xas_drone_mood mood) { + drone->mood = mood; +} + xas_spatial_object *xas_drone_get_spatial_object(xas_drone *drone) { return drone->obj; } -- cgit v1.2.3