added struct World
This commit is contained in:
parent
c95797d4cf
commit
b2b00d0d62
@ -1,7 +1,13 @@
|
|||||||
use std::fs;
|
use std::fs;
|
||||||
use std::io;
|
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 {
|
struct Position {
|
||||||
x: u32,
|
x: u32,
|
||||||
y: u32,
|
y: u32,
|
||||||
|
Loading…
Reference in New Issue
Block a user