From c10db01d3f7ebde8575d0025ebf1c363a676345a Mon Sep 17 00:00:00 2001 From: mnmaita <47983254+mnmaita@users.noreply.github.com> Date: Wed, 17 Jul 2024 00:27:04 +0200 Subject: [PATCH] Removes unused constants --- src/game/constants.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/game/constants.rs b/src/game/constants.rs index 239782c..5271dfa 100644 --- a/src/game/constants.rs +++ b/src/game/constants.rs @@ -5,8 +5,6 @@ pub const TILE_SIZE: Vec2 = Vec2::splat(16.); pub const GRID_SIZE: Vec2 = Vec2::new(200., 200.); pub const HALF_TILE_SIZE: Vec2 = Vec2::new(TILE_SIZE.x * 0.5, TILE_SIZE.y * 0.5); pub const HALF_GRID_SIZE: Vec2 = Vec2::new(GRID_SIZE.x * 0.5, GRID_SIZE.y * 0.5); -pub const LEVEL_SIZE: Vec2 = Vec2::new(GRID_SIZE.x * TILE_SIZE.x, GRID_SIZE.y * TILE_SIZE.y); -pub const HALF_LEVEL_SIZE: Vec2 = Vec2::new(LEVEL_SIZE.x * 0.5, LEVEL_SIZE.y * 0.5); pub const PLAYER_GROUP: Group = Group::GROUP_1; pub const ENEMY_GROUP: Group = Group::GROUP_2;