summaryrefslogtreecommitdiff
path: root/src/components.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components.rs')
-rw-r--r--src/components.rs3
1 files changed, 2 insertions, 1 deletions
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<Self, VecStorage<Self>>;