From 534b9bd5a7c4ef75f4e88291e5f55dcbd601cd1c Mon Sep 17 00:00:00 2001
From: Eldred Habert <eldredhabert0@gmail.com>
Date: Sat, 20 Mar 2021 19:04:20 +0100
Subject: [PATCH] Document that map dimensions are in tiles

And not, for example, in pixels
---
 src/lib.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib.rs b/src/lib.rs
index 7f51c94..4dc8c89 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -217,7 +217,9 @@ fn parse_properties<R: Read>(parser: &mut EventReader<R>) -> Result<Properties,
 pub struct Map {
     pub version: String,
     pub orientation: Orientation,
+    /// Width of the map, in tiles
     pub width: u32,
+    /// Height of the map, in tiles
     pub height: u32,
     pub tile_width: u32,
     pub tile_height: u32,
-- 
GitLab