class Asteroids::Explosion
Attributes
x[RW]
y[RW]
Public Class Methods
new(object_pool, x, y)
click to toggle source
Calls superclass method
Asteroids::GameObject::new
# File lib/asteroids/explosion/explosion.rb, line 6 def initialize(object_pool, x, y) super(object_pool) @x, @y = x, y @current_frame = 0 ExplosionGraphics.new(self) end