Class: TitleLevel

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



167
168
169
170
171
# File 'lib/rubyhop/level.rb', line 167

def message
  "Stay alive by hopping!\n" +
  "Press SPACE to hop!\n" +
  "Press ESCAPE to close."
end