summaryrefslogtreecommitdiff
path: root/battles/include
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-11-19 13:26:42 +0100
committerAki <please@ignore.pl>2022-11-19 13:26:42 +0100
commit98982513f97f449fd200132d0f19130ab31e2c36 (patch)
treeb562871c32a3c26fab6a23bb3f915a769f5f9258 /battles/include
parent45eee2571917b6ff48f237d9796696148cd6086c (diff)
downloadkurator-98982513f97f449fd200132d0f19130ab31e2c36.zip
kurator-98982513f97f449fd200132d0f19130ab31e2c36.tar.gz
kurator-98982513f97f449fd200132d0f19130ab31e2c36.tar.bz2
Implemented funky floating movement
It's far from complete but it's hilarious and deserves to be a commit
Diffstat (limited to 'battles/include')
-rw-r--r--battles/include/kurator/battles/components.h6
1 files changed, 5 insertions, 1 deletions
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};
};