Sha256: e92ad46c520c05a4b15eaf1919a17eafa4f143dfdd609a63d49de35792196de2
Contents?: true
Size: 532 Bytes
Versions: 1
Compression:
Stored size: 532 Bytes
Contents
class MainMenuController < Game::Controller def show @logo = Logo.new @main_menu_list_items = [ MainMenuListItem.new(text: t('main_menu.show.menu_list_items.new'), action: 'session#new'), MainMenuListItem.new(text: t('main_menu.show.menu_list_items.load'), action: 'load_menu#show'), MainMenuListItem.new(text: t('main_menu.show.menu_list_items.options'), action: 'options_menu#show'), MainMenuListItem.new(text: t('main_menu.show.menu_list_items.quit'), action: 'game#exit') ] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
game-0.0.1 | examples/super_ruby_bros/app/controllers/main_menu_controller.rb |