From b7f0c2f965a7d460022d157ff149bf1ea498b9b4 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 16 Oct 2024 22:15:24 +0200 Subject: feat(ecs): add stats sole containing current tick --- ecs/src/stats.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ecs/src/stats.rs (limited to 'ecs/src/stats.rs') 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, +} -- cgit v1.2.3-18-g5258