Class: GamesAndRpgParadise::EndKnight
- Inherits:
-
Chingu::GameObject
- Object
- Chingu::GameObject
- GamesAndRpgParadise::EndKnight
- Defined in:
- lib/games_and_rpg_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
38 39 40 |
# File 'lib/games_and_rpg_paradise/gui/gosu/chinguroids/characters.rb', line 38 def setup @image = Image["media/assets/knight_left.png"] end |
#update ⇒ Object
41 42 43 |
# File 'lib/games_and_rpg_paradise/gui/gosu/chinguroids/characters.rb', line 41 def update @x -= 0.9 # EndKnight starts offscreen and continually moves to the left end |