diff options
author | XANTRONIX Development | 2022-03-15 16:39:46 -0400 |
---|---|---|
committer | XANTRONIX Development | 2022-03-15 16:39:46 -0400 |
commit | 546e07855b117b22ae3a5053a5dcfef1183b0718 (patch) | |
tree | 60d09a2f2a2f53366c78ffba4d7c632954cd819c /src | |
parent | 420a446e1d3928cac5f3804dc70832ea91b58187 (diff) | |
download | xas-546e07855b117b22ae3a5053a5dcfef1183b0718.tar.gz xas-546e07855b117b22ae3a5053a5dcfef1183b0718.tar.bz2 xas-546e07855b117b22ae3a5053a5dcfef1183b0718.zip |
You know who deserves to have moods? Drones.
Diffstat (limited to 'src')
-rw-r--r-- | src/drone.c | 8 |
1 files changed, 8 insertions, 0 deletions
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; } |