From 555a0ff6b8fdad5f3bf798fb573ca4ca13b5d4fd Mon Sep 17 00:00:00 2001 From: Martin HART Date: Wed, 28 Oct 2020 12:20:20 +0100 Subject: [PATCH] x and y should be public --- src/world.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/world.rs b/src/world.rs index ab9ac8e..357b82d 100644 --- a/src/world.rs +++ b/src/world.rs @@ -1,5 +1,5 @@ /// The World is represented here. pub struct World { - x: i32, - y: i32, + pub x: i32, + pub y: i32, }