From 4f3de714cd04ee5d99167f415843573d6bbd9f62 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 14 Nov 2022 00:32:08 +0100 Subject: Implemented naive turrets and targeting mechanics Coupling between components, implementation of systems and behaviour of some state-related methods should be refactored, but the overall look is nice. --- battles/include/kurator/battles/components.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'battles/include') diff --git a/battles/include/kurator/battles/components.h b/battles/include/kurator/battles/components.h index 35a9251..8f5813b 100644 --- a/battles/include/kurator/battles/components.h +++ b/battles/include/kurator/battles/components.h @@ -44,5 +44,12 @@ struct HitPoints }; +struct TurretControl +{ + double reload; + entt::entity owner; +}; + + } // namespace battles } // namespace kurator -- cgit v1.1