diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2021-03-14 21:03:53 +0100 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2021-03-14 21:03:53 +0100 |
commit | a0c406ca212ed4f2a3bc41bbdacc789ee57da42e (patch) | |
tree | 52c8ba4152b459c96b867ced8b37103b9b06a9fe /src/constants.rs | |
parent | e3238817205b2c5d2504330135ffc552881b1a73 (diff) |
split up into multiple files
Diffstat (limited to 'src/constants.rs')
-rw-r--r-- | src/constants.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/constants.rs b/src/constants.rs new file mode 100644 index 0000000..f9a5003 --- /dev/null +++ b/src/constants.rs @@ -0,0 +1,8 @@ +pub const TILE_SCALE: f32 = 3.0; +pub const TILE_HEIGHT: f32 = 16.0; +pub const TILE_WIDTH: f32 = 16.0; +pub const BORDER_SIZE: f32 = 3.0; +pub const SHIFT_X: f32 = 50.0; +pub const SHIFT_Y: f32 = 50.0; +pub const COLUMNS: usize = 8; +pub const ROWS: usize = 8; |