class MainController
The main controller for the application.
NOTE: This controller doesn’t inherit from ApplicationController
, instead, it inherits from RuGUI::BaseMainController
. Use it only as a starting point. Commonly it is used only to register global models and controllers, as well as the main view, but this is entirely up to you.
The main controller for the application.
NOTE: This controller doesn’t inherit from ApplicationController
, instead, it inherits from RuGUI::BaseMainController
. Use it only as a starting point. Commonly it is used only to register global models and controllers, as well as the main view, but this is entirely up to you.
The main controller for the application.
NOTE: This controller doesn’t inherit from ApplicationController
, instead, it inherits from RuGUI::BaseMainController
. Use it only as a starting point. Commonly it is used only to register global models and controllers, as well as the main view, but this is entirely up to you.
Public Instance Methods
Add your stuff here.
# File lib/rugui/generators/rugui/templates/framework_specific/rubygame/app/controllers/main_controller.rb, line 10 def update main_view.update_screen end