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;
|
use std::io;
|
||||||
|
|
||||||
struct Position {
|
struct Position {
|
||||||
x: i32,
|
x: u32,
|
||||||
y: i32,
|
y: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
struct Robot {
|
struct Robot {
|
||||||
|
id: u32,
|
||||||
o: Orientation,
|
o: Orientation,
|
||||||
p: Position,
|
p: Position,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user