summaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
authorRaymond Hogenson <rhogenson@posteo.net>2018-08-18 15:42:11 -0400
committerRaymond Hogenson <rhogenson@posteo.net>2018-08-18 15:42:11 -0400
commitffd92b2d0ded6aea2f505dfce422252c378b7548 (patch)
tree3ca79b7958b1b55fe5b1558f5050d5abb3ddaea3 /src/state.rs
parentAdd the ability to move more quickly (diff)
downloadstallman-shooter-ffd92b2d0ded6aea2f505dfce422252c378b7548.tar.zst
Add a health bar
It's sweet now
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs2
1 files changed, 1 insertions, 1 deletions
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 {