# File karel/robot_world_base.rb, line 56 def update(robot, action, state) return if action == NO_ACTION if action == MOVE_ACTION || action == CREATE_ACTION register_robot(robot, state) end puts robot.to_s if $tracing sleep @delay if @delay > 0 end