Permalink
Browse files

Merge branch 'master' of git://github.com/adambair/asteroids

  • Loading branch information...
apillet committed Mar 17, 2011
2 parents 5c9c56f + 985d50f commit 567db324d26eed67bb3305c21d9ef34950d0eb3b
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
@@ -1,7 +1,7 @@
class Particle class Particle
def initialize(window, origin_object) def initialize(window, origin_object)
@window = window @window = window
@image = Gosu::Image.new(window, 'assets/projectile.png', false) @image = Gosu::Image.new(window, 'assets/particle.png', false)
@origin_object = origin_object @origin_object = origin_object
@x, @y = @origin_object.x-rand(10), @origin_object.y-rand(10) @x, @y = @origin_object.x-rand(10), @origin_object.y-rand(10)

0 comments on commit 567db32

Please sign in to comment.