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