From c422060faf90e36543023a5c06042de9679059ce Mon Sep 17 00:00:00 2001 From: Martin HART Date: Wed, 28 Oct 2020 12:07:20 +0100 Subject: [PATCH] represent the world in a struct --- src/world.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/world.rs diff --git a/src/world.rs b/src/world.rs new file mode 100644 index 0000000..ab9ac8e --- /dev/null +++ b/src/world.rs @@ -0,0 +1,5 @@ +/// The World is represented here. +pub struct World { + x: i32, + y: i32, +}