diff options
Diffstat (limited to 'stats')
-rw-r--r-- | stats/CMakeLists.txt | 12 | ||||
-rw-r--r-- | stats/include/kurator/stats/events.h | 22 |
2 files changed, 34 insertions, 0 deletions
diff --git a/stats/CMakeLists.txt b/stats/CMakeLists.txt new file mode 100644 index 0000000..02b68a8 --- /dev/null +++ b/stats/CMakeLists.txt @@ -0,0 +1,12 @@ +project(stats) +add_library( + ${PROJECT_NAME} INTERFACE +) +target_include_directories( + ${PROJECT_NAME} + INTERFACE include +) +target_link_libraries( + ${PROJECT_NAME} + INTERFACE campaign +) diff --git a/stats/include/kurator/stats/events.h b/stats/include/kurator/stats/events.h new file mode 100644 index 0000000..a9a9612 --- /dev/null +++ b/stats/include/kurator/stats/events.h @@ -0,0 +1,22 @@ +#pragma once + +#include <kurator/campaign/UniqueIdentifier.h> + + +namespace kurator +{ +namespace stats +{ + + +struct ShipLeft +{ + double time; + campaign::UniqueIdentifier ship; + int team; + bool destroyed; +}; + + +} // namespace stats +} // namespace kurator |