Class: EndKnight
- Inherits:
-
Chingu::GameObject
- Object
- Chingu::GameObject
- EndKnight
- Defined in:
- lib/games_paradise/gui/gosu/chinguroids/characters.rb
Overview
END KNIGHT
called in ending.rb, in Ending3 gamestate
Instance Method Summary collapse
Instance Method Details
#setup ⇒ Object
36 37 38 |
# File 'lib/games_paradise/gui/gosu/chinguroids/characters.rb', line 36 def setup @image = Image["media/assets/knight_left.png"] end |
#update ⇒ Object
39 40 41 |
# File 'lib/games_paradise/gui/gosu/chinguroids/characters.rb', line 39 def update @x -= 0.9 # EndKnight starts offscreen and continually moves to the left end |