# File karel/karel_window.rb, line 418 def place() sizeFactor = 0.5 #Change this to change beeper size. The others scale from it. placeFactor = 0.5 * sizeFactor val = @number.to_s # if @number < 0 # val = 'N' # end val = 'N' if @number < 0 x,y = scaler(@street+placeFactor, @avenue-placeFactor) ?? oval = TkcOval.new(@canvas, x, y, x + scale_factor*sizeFactor, y + scale_factor*sizeFactor, :fill=> 'black', :tags => @tag) TkcText.new(oval, x + scale_factor*placeFactor, y + scale_factor*placeFactor, :tags => @tag, :width => 1, :text =>val, :fill => 'white') end