From 7e9784f23d1920640152d1bc99a0725f6f22d529 Mon Sep 17 00:00:00 2001 From: troido Date: Fri, 21 Feb 2020 20:01:24 +0100 Subject: visible component now also has a name --- src/components.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/components.rs') diff --git a/src/components.rs b/src/components.rs index 2adddaa..9d387f1 100644 --- a/src/components.rs +++ b/src/components.rs @@ -29,7 +29,8 @@ impl Component for Position { #[derive(Debug, Clone)] pub struct Visible { pub sprite: Sprite, - pub height: f64 + pub height: f64, + pub name: String } impl Component for Visible { type Storage = FlaggedStorage>; -- cgit