diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2019-08-07 13:37:49 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2019-08-07 13:37:49 +0200 |
commit | 952c8653115483163ce0df38e6c8c1a0d31a84fd (patch) | |
tree | ff740aefae37f201b4a538ac7cf4dac8047b8f07 /src/constants.rs | |
parent | e8b28dbbcde3d00a9d82637644734b6c7e79b544 (diff) |
Added snowballs to valid moves
Diffstat (limited to 'src/constants.rs')
-rw-r--r-- | src/constants.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/constants.rs b/src/constants.rs index d796e57..1c2b8a1 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -156,6 +156,7 @@ impl MapRow { } } +pub const BOMB_RANGE: i8 = 5; pub const BOMB_DAMAGED_SPACES: usize = 13; pub const BOMB_DAMAGES: [(Vec2d<i8>, i32); BOMB_DAMAGED_SPACES] = [ (Vec2d::new(0, -2), 7), @@ -173,6 +174,7 @@ pub const BOMB_DAMAGES: [(Vec2d<i8>, i32); BOMB_DAMAGED_SPACES] = [ (Vec2d::new(0, 0), 20), ]; +pub const SNOWBALL_RANGE: i8 = 5; pub const SNOWBALL_FREEZES_SPACES: usize = 9; pub const SNOWBALL_FREEZES: [Vec2d<i8>; SNOWBALL_FREEZES_SPACES] = [ Vec2d::new(-1, -1), |