From 98982513f97f449fd200132d0f19130ab31e2c36 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 19 Nov 2022 13:26:42 +0100 Subject: Implemented funky floating movement It's far from complete but it's hilarious and deserves to be a commit --- battles/include/kurator/battles/components.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'battles/include') diff --git a/battles/include/kurator/battles/components.h b/battles/include/kurator/battles/components.h index 8f5813b..d4363c4 100644 --- a/battles/include/kurator/battles/components.h +++ b/battles/include/kurator/battles/components.h @@ -34,7 +34,11 @@ struct AIState struct FloatingMovement { - double speed; // linear and instant angular for now + double max_speed; + double acceleration; + double deceleration; + double destination_boundary; + Point speed = {0.0, 0.0}; }; -- cgit v1.1