diff options
author | Aki <please@ignore.pl> | 2022-12-31 21:22:50 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-12-31 21:22:50 +0100 |
commit | 7c34183e2697356c603328b006415247d280455b (patch) | |
tree | db13bebaf1170789ce3eaeaa8edcbd1af2526eeb /sim/include | |
parent | c1e82cd6a6b051b43b18cea258aed80e021f85bb (diff) | |
download | kurator-7c34183e2697356c603328b006415247d280455b.zip kurator-7c34183e2697356c603328b006415247d280455b.tar.gz kurator-7c34183e2697356c603328b006415247d280455b.tar.bz2 |
Extracted HitPoints definition to own header
Diffstat (limited to 'sim/include')
-rw-r--r-- | sim/include/kurator/sim/HitPoints.h | 17 | ||||
-rw-r--r-- | sim/include/kurator/sim/components.h | 6 |
2 files changed, 17 insertions, 6 deletions
diff --git a/sim/include/kurator/sim/HitPoints.h b/sim/include/kurator/sim/HitPoints.h new file mode 100644 index 0000000..20cffc2 --- /dev/null +++ b/sim/include/kurator/sim/HitPoints.h @@ -0,0 +1,17 @@ +#pragma once + + +namespace kurator +{ +namespace sim +{ + + +struct HitPoints +{ + double health; +}; + + +} // namespace sim +} // namespace kurator diff --git a/sim/include/kurator/sim/components.h b/sim/include/kurator/sim/components.h index 34b0f93..f4f1799 100644 --- a/sim/include/kurator/sim/components.h +++ b/sim/include/kurator/sim/components.h @@ -33,11 +33,5 @@ struct AIState }; -struct HitPoints -{ - double health; -}; - - } // namespace sim } // namespace kurator |