From ffd92b2d0ded6aea2f505dfce422252c378b7548 Mon Sep 17 00:00:00 2001 From: Raymond Hogenson Date: Sat, 18 Aug 2018 15:42:11 -0400 Subject: Add a health bar It's sweet now --- src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs index d309862..5f622b5 100644 --- a/src/state.rs +++ b/src/state.rs @@ -28,7 +28,7 @@ pub struct Enemy { pub health: i64, } -const STARTING_HEALTH: i64 = 100; +pub const STARTING_HEALTH: i64 = 100; impl EBullet { pub fn new(x: i32, d_x: f64, y: i32, d_y: f64) -> EBullet { -- cgit v1.3.1