waves
This commit is contained in:
parent
751d8097d2
commit
4b9101ad2c
7 changed files with 143 additions and 29 deletions
|
|
@ -1,6 +1,14 @@
|
|||
use bevy::prelude::*;
|
||||
|
||||
pub const MAP_SIZE: u32 = 1000;
|
||||
pub const MAP_WIDTH: u32 = MAP_SIZE / 2;
|
||||
|
||||
pub const NEAR_LIMIT: f32 = (MAP_WIDTH as f32) * 0.8;
|
||||
|
||||
pub const RIGHT: Vec2 = Vec2::new(NEAR_LIMIT, 0.0);
|
||||
pub const LEFT: Vec2 = Vec2::new(-NEAR_LIMIT, 0.0);
|
||||
pub const TOP: Vec2 = Vec2::new(0.0, NEAR_LIMIT);
|
||||
pub const BOTTOM: Vec2 = Vec2::new(0.0, -NEAR_LIMIT);
|
||||
|
||||
#[derive(Resource)]
|
||||
pub struct MapBounds {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue