Class: RubyArmor::Window

Inherits:
Chingu::Window
  • Object
show all
Defined in:
lib/ruby_armor/window.rb

Instance Method Summary collapse

Constructor Details

#initializeWindow

Returns a new instance of Window.



3
4
5
6
7
8
9
10
# File 'lib/ruby_armor/window.rb', line 3

def initialize
  super 800, 600, false

  Gosu::enable_undocumented_retrofication

  self.caption = "RubyArmor v#{RubyArmor::VERSION} (for RubyWarrior)"
  push_game_state ChooseProfile
end