Class: TitleLevel
- Inherits:
-
MessageLevel
- Object
- Level
- MessageLevel
- TitleLevel
- 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
167 168 169 170 171 |
# File 'lib/rubyhop/level.rb', line 167 def "Stay alive by hopping!\n" + "Press SPACE to hop!\n" + "Press ESCAPE to close." end |