From b2b00d0d62800bd4772fafaf46c467467e011569 Mon Sep 17 00:00:00 2001 From: Volodymyr Patuta <6977238-fiplox@users.noreply.gitlab.com> Date: Mon, 19 Oct 2020 12:23:38 +0200 Subject: [PATCH] added struct World --- src/main.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a362e2e..f2def9a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,13 @@ use std::fs; use std::io; -/// Struct to store robot position +/// Struct to store the world. +struct World { + x: u32, + y: u32, +} + +/// Struct to store robot position. struct Position { x: u32, y: u32,