Class: RuGUI::FrameworkAdapters::Rubygame::BaseMainController
- Inherits:
-
BaseController
- Object
- BaseFrameworkAdapter::Base
- BaseFrameworkAdapter::BaseController
- BaseController
- RuGUI::FrameworkAdapters::Rubygame::BaseMainController
- Defined in:
- lib/rugui/framework_adapters/Rubygame.rb
Instance Attribute Summary
Attributes inherited from BaseFrameworkAdapter::Base
Instance Method Summary collapse
Methods inherited from BaseController
Methods inherited from BaseFrameworkAdapter::BaseController
Methods inherited from BaseFrameworkAdapter::Base
Constructor Details
This class inherits a constructor from RuGUI::FrameworkAdapters::BaseFrameworkAdapter::Base
Instance Method Details
#quit ⇒ Object
26 27 28 29 |
# File 'lib/rugui/framework_adapters/Rubygame.rb', line 26 def quit throw :quit Rubygame.quit end |
#refresh ⇒ Object
23 24 |
# File 'lib/rugui/framework_adapters/Rubygame.rb', line 23 def refresh end |
#run ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/rugui/framework_adapters/Rubygame.rb', line 15 def run catch :quit do loop do self.adapted_object.step end end end |