Class: T_BAG::Main_Menu

Inherits:
Scene
  • Object
show all
Defined in:
lib/tbag/main_menu.rb

Overview

Defines a special Main Menu scene and its run behavior.

Instance Method Summary collapse

Methods inherited from Scene

#game_over, #load_game, #main_menu, #pause, #prompt, #save_game, #scene_change, #text

Constructor Details

#initializeMain_Menu

Returns an instance of a special Main Menu scene.



33
34
35
# File 'lib/tbag/main_menu.rb', line 33

def initialize
  super(:menu, 'Main Menu')
end

Instance Method Details

#runObject

Run with the same behavior as a scene.



38
39
40
# File 'lib/tbag/main_menu.rb', line 38

def run
  super
end