summaryrefslogtreecommitdiff
path: root/ecs/src/stats.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-10-16 22:15:24 +0200
committerHampusM <hampus@hampusmat.com>2024-10-16 22:15:24 +0200
commitb7f0c2f965a7d460022d157ff149bf1ea498b9b4 (patch)
tree478607d6513479d38e2a288181c931a9dbce4a66 /ecs/src/stats.rs
parent5e232a891c45d84d89f814eee84faeb12df0f052 (diff)
feat(ecs): add stats sole containing current tick
Diffstat (limited to 'ecs/src/stats.rs')
-rw-r--r--ecs/src/stats.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/ecs/src/stats.rs b/ecs/src/stats.rs
new file mode 100644
index 0000000..410610f
--- /dev/null
+++ b/ecs/src/stats.rs
@@ -0,0 +1,10 @@
+use ecs_macros::Sole;
+
+use crate as ecs;
+
+#[derive(Debug, Default, Sole)]
+#[non_exhaustive]
+pub struct Stats
+{
+ pub current_tick: u64,
+}