Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove un-needed image attr on Ball
  • Loading branch information
cadwallion committed Nov 24, 2011
1 parent 49427be commit f16fba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bouncing_ball.rb
Expand Up @@ -5,7 +5,7 @@ module ZOrder
end

class Ball
attr_accessor :x, :y, :image, :velocity_x, :velocity_y
attr_accessor :x, :y, :velocity_x, :velocity_y

def initialize(window)
@x = rand(window.width)
Expand Down

0 comments on commit f16fba9

Please sign in to comment.