Class: FailLevel

Inherits:
MessageLevel show all
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

#messageObject



175
176
177
178
179
180
# File 'lib/rubyhop/level.rb', line 175

def message
  "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