Add reflection & debug inspector stuff to Score

This commit is contained in:
2025-08-14 13:10:47 -05:00
parent 40ee042b53
commit 0a7ffcfa0a
2 changed files with 3 additions and 1 deletions

View File

@@ -22,7 +22,8 @@ use crate::{
SHIP_THRUSTER_COLOR_INACTIVE, config::WINDOW_SIZE,
};
#[derive(Resource, Debug, Deref, Clone, Copy)]
#[derive(InspectorOptions, Reflect, Resource, Debug, Deref, Clone, Copy)]
#[reflect(Resource, InspectorOptions)]
pub struct Score(pub i32);
impl From<Score> for String {