added struct World

This commit is contained in:
Volodymyr Patuta 2020-10-19 12:23:38 +02:00
parent c95797d4cf
commit b2b00d0d62
1 changed files with 7 additions and 1 deletions

View File

@ -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,