Add log for command execute
This commit is contained in:
parent
c30339143b
commit
b9df3833ed
1 changed files with 1 additions and 0 deletions
|
@ -235,6 +235,7 @@ func (w *World) ExecuteCommandQueues() {
|
||||||
|
|
||||||
// ExecuteCommand will execute a single command
|
// ExecuteCommand will execute a single command
|
||||||
func (w *World) ExecuteCommand(c *Command, rover uuid.UUID) (finished bool, err error) {
|
func (w *World) ExecuteCommand(c *Command, rover uuid.UUID) (finished bool, err error) {
|
||||||
|
fmt.Printf("Executing command: %+v", *c)
|
||||||
|
|
||||||
switch c.Command {
|
switch c.Command {
|
||||||
case "move":
|
case "move":
|
||||||
|
|
Loading…
Add table
Reference in a new issue