Changed position to u32 and added ID.
This commit is contained in:
parent
918334a3cb
commit
a688c11d4b
@ -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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user