Gosuplus 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/Gosuplus/version.rb +1 -1
- data/lib/Gosuplus/window.rb +3 -4
- metadata +1 -1
data/lib/Gosuplus/version.rb
CHANGED
data/lib/Gosuplus/window.rb
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
module Gosuplus
|
|
2
2
|
class Window < Gosu::Window
|
|
3
|
-
def initialize
|
|
4
|
-
super
|
|
5
|
-
self.caption =
|
|
3
|
+
def initialize(caption, width, height, fullscreen = false)
|
|
4
|
+
super width, height, fullscreen
|
|
5
|
+
self.caption = caption
|
|
6
6
|
@state_manager = StateManager.new(self)
|
|
7
|
-
@state_manager.add(ExampleState.new(self, ResourceManager.new(self), StateInputHandler.new))
|
|
8
7
|
end
|
|
9
8
|
|
|
10
9
|
def update
|