Started moving constants to a constants file
[entelect-challenge-tower-defence.git] / src / engine / constants.rs
1 pub const FULL_MAP_WIDTH: u8 = 16;
2 pub const SINGLE_MAP_WIDTH: u8 = FULL_MAP_WIDTH/2;
3
4 pub const MISSILE_COOLDOWN: usize = 3;
5 pub const MISSILE_SPEED: usize = 2;
6 pub const MISSILE_MAX_SINGLE_CELL: usize = SINGLE_MAP_WIDTH as usize / MISSILE_SPEED;
7
8 pub const DEFENCE_HEALTH: usize = 4; // '20' health is 4 hits
9
10 pub const MAX_TESLAS: usize = 2;