Skip to content

Commit

Permalink
Removes unused constants
Browse files Browse the repository at this point in the history
  • Loading branch information
mnmaita committed Jul 16, 2024
1 parent 1f37151 commit c10db01
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/game/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c10db01

Please sign in to comment.