# File karel/tk_robot_world.rb, line 87 def RobotWorld.set_speed(amount) amount = 100 if amount > 100 amount = 0 if amount < 0 @@delay = 100 - amount $window.set_speed(amount) end