Add a TODO to the MoveRover command about blocking other rovers
This commit is contained in:
parent
91947f614c
commit
5c549ad8c3
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ func (w *World) MoveRover(id uuid.UUID, bearing Direction) (RoverAttributes, err
|
|||
// Calculate the full movement based on the bearing
|
||||
move := bearing.Vector().Multiplied(distance)
|
||||
|
||||
// TODO: Verify there's nothing blocking this movement
|
||||
|
||||
// Increment the position by the movement
|
||||
i.Attributes.Pos.Add(move)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue