From a0c406ca212ed4f2a3bc41bbdacc789ee57da42e Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Sun, 14 Mar 2021 21:03:53 +0100 Subject: split up into multiple files --- src/constants.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/constants.rs (limited to 'src/constants.rs') 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; -- cgit v1.2.3