Class: Pugnacious::Application
- Inherits:
-
Object
- Object
- Pugnacious::Application
- Defined in:
- lib/pugnacious/application.rb
Class Method Summary collapse
Class Method Details
.run ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/pugnacious/application.rb', line 6 def self.run Ray.game "Pugnacious Juices", :size => [MAP_SIZE, MAP_SIZE] do frames_per_second = 16 register { add_hook :quit, method(:exit!) } FightScene.bind(self) scenes << :fight_scene end end |