Class: Explosion
- Inherits:
-
GameObject
- Object
- GameObject
- Explosion
- Defined in:
- lib/entities/explosion.rb
Overview
class Explosion
Instance Attribute Summary
Attributes inherited from GameObject
Instance Method Summary collapse
- #done? ⇒ Boolean
-
#initialize(x, y) ⇒ Explosion
constructor
A new instance of Explosion.
- #update ⇒ Object
Methods inherited from GameObject
#collide?, #collision_detect, #draw, #hitted, #solid?
Constructor Details
Instance Method Details
#done? ⇒ Boolean
10 11 12 |
# File 'lib/entities/explosion.rb', line 10 def done? @sprite.done? end |
#update ⇒ Object
14 15 16 |
# File 'lib/entities/explosion.rb', line 14 def update @sprite.update end |