add queues to Robot
This commit is contained in:
parent
7ad8268c9f
commit
2dba5a9721
@ -1,4 +1,5 @@
|
|||||||
use clap::{App, Arg};
|
use clap::{App, Arg};
|
||||||
|
use queues::*;
|
||||||
use std::fs;
|
use std::fs;
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
||||||
@ -37,6 +38,7 @@ struct Robot {
|
|||||||
id: u32,
|
id: u32,
|
||||||
o: Orientation,
|
o: Orientation,
|
||||||
p: Position,
|
p: Position,
|
||||||
|
q: Queue<char>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Robot {
|
impl Robot {
|
||||||
|
Loading…
Reference in New Issue
Block a user