More de-scope - remove duration on move command

This isn't even needed, as commands can just be queued up
This commit is contained in:
Marc Di Luzio 2020-06-26 22:26:27 +01:00
parent 383e834cef
commit 2f6465987d
10 changed files with 97 additions and 134 deletions

View file

@ -61,18 +61,17 @@ service Rove {
}
message Command {
// The command to execute, currently only accepts move, which requires a bearing and a duration.
// The command to execute
// "move" - Move the rover in a direction, requires bearing
// "stash" - Stashes item at current location in rover inventory
string command = 1;
// The bearing, example: NE
string bearing = 2;
// The duration in ticks, example: 5
int32 duration = 3;
}
message CommandsRequest {
// The account to execture these commands
// The account to execute these commands
string account = 1;
// The set of desired commands