Changed position to u32 and added ID.

This commit is contained in:
Volodymyr Patuta 2020-10-16 12:59:40 +02:00
parent 918334a3cb
commit a688c11d4b
1 changed files with 3 additions and 2 deletions

View File

@ -2,11 +2,12 @@ use std::fs;
use std::io;
struct Position {
x: i32,
y: i32,
x: u32,
y: u32,
}
struct Robot {
id: u32,
o: Orientation,
p: Position,
}