Module | SensorPack |
In: |
karel/sensor_pack.rb
|
A mixin to add sensing capabilities to robots such as UrRobot. Including this in a class will enable the robots to sense walls and beepers, as well as other robots. A robot with these capabilities will be able to test the direction it is facing. All of these methods return true or false.