Class: FailLevel
- Inherits:
-
MessageLevel
- Object
- Level
- MessageLevel
- FailLevel
- Defined in:
- lib/rubyhop/level.rb
Instance Method Summary collapse
Methods inherited from MessageLevel
#create_image!, #draw, #initialize, #start!, #update
Methods inherited from Level
#continue!, #draw, #fail!, #initialize, #on_continue, #on_fail, #on_quit, #quit!, #start!, #update
Constructor Details
This class inherits a constructor from MessageLevel
Instance Method Details
#message ⇒ Object
175 176 177 178 179 180 |
# File 'lib/rubyhop/level.rb', line 175 def "You scored #{Rubyhop.score}.\n" + "Your high score is #{Rubyhop.high_score}.\n" + "Press SPACE if you dare to continue...\n" + "Or ESCAPE if it is just too much for you." end |