diff --git a/crates/border-wars/src/ui/hover.rs b/crates/border-wars/src/ui/hover.rs index 632dc07..2d82f18 100644 --- a/crates/border-wars/src/ui/hover.rs +++ b/crates/border-wars/src/ui/hover.rs @@ -13,12 +13,12 @@ impl Plugin for HoverPlugin { /// A component that stores the hover texture and the original texture. #[derive(Component, Clone)] -struct HoveredTexture { +pub struct HoveredTexture { /// The original texture. - texture: Handle, + pub texture: Handle, /// The hovered texture. - hovered_texture: Handle, + pub hovered_texture: Handle, } /// The system that applies the hover logic by changing the texture.