Added function's description to the doc for check_collisions
This commit is contained in:
parent
e4b25281f7
commit
782fccf31c
@ -29,6 +29,7 @@ fn check_map(r: &robot::Robot, w: &world::World) -> Result<(), String> {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/// Check if the robot collide with another one at the given position.
|
||||||
fn check_collisions(
|
fn check_collisions(
|
||||||
r: &robot::Robot,
|
r: &robot::Robot,
|
||||||
w: &world::World,
|
w: &world::World,
|
||||||
|
Loading…
Reference in New Issue
Block a user