summaryrefslogtreecommitdiff
path: root/sim/include
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-12-31 16:26:25 +0100
committerAki <please@ignore.pl>2022-12-31 16:26:25 +0100
commitb8d3a357428d3af09031d2ae8925e1c2e93810ba (patch)
tree2c6c78f963835143e4fb09d4e5ed424c3de99a81 /sim/include
parentbdc690d00c3c2774730dd893ddccb14efc9e0b94 (diff)
downloadkurator-b8d3a357428d3af09031d2ae8925e1c2e93810ba.zip
kurator-b8d3a357428d3af09031d2ae8925e1c2e93810ba.tar.gz
kurator-b8d3a357428d3af09031d2ae8925e1c2e93810ba.tar.bz2
Added rounds and reload time to turrets to enable burst weapons
Diffstat (limited to 'sim/include')
-rw-r--r--sim/include/kurator/sim/components.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/include/kurator/sim/components.h b/sim/include/kurator/sim/components.h
index 47ff5b2..7190369 100644
--- a/sim/include/kurator/sim/components.h
+++ b/sim/include/kurator/sim/components.h
@@ -41,7 +41,9 @@ struct HitPoints
struct TurretControl
{
+ double delay;
double reload;
+ int rounds;
entt::entity owner;
};