examples/steering_behaviors/steering.rb in lotu-0.1.4 vs examples/steering_behaviors/steering.rb in lotu-0.1.5

- old
+ new

@@ -33,10 +33,10 @@ @ruby2.activate(:pursuit) @cursor = Lotu::Cursor.new(:image => 'crosshair.png', :keys => {MsLeft => [:click, false]}) @cursor.on(:click) do |x,y| - @ruby.pursuer = @ruby2#Lotu::Vector2d.new(x, y) + @ruby.pursuer = @ruby2 @ruby2.evader = @ruby end @window_info = Lotu::TextBox.new @window_info.watch(@fps_counter)