diff --git a/src/core.rs b/src/core.rs index 79caf34..d716209 100644 --- a/src/core.rs +++ b/src/core.rs @@ -434,6 +434,12 @@ impl From<&dyn PointLike> for (i32, i32) { #[reflect(Component)] pub struct Player; +#[derive(Clone, Copy, Debug)] +pub struct Pool { + pub value: T, + pub max: T, +} + fn copy_coordinates_to_transform( config: Res, mut query: Query<(&Coordinates, &mut Transform)>,