Class: MainWindow
Instance Method Summary
collapse
#gosu_button_down?, #image, #image10?, #image1?, #image2?, #image3?, #image4?, #image5?, #image6?, #image7?, #image8?, #image9?, #on_left_arrow_pressed?, #on_right_arrow_pressed?, #q_means_quit, #reset, #set_font, #set_title, #sqrt, #tab_key?, #write_this_text
Constructor Details
11
12
13
14
15
|
# File 'lib/games_paradise/gui/gosu/books/main_window.rb', line 11
def initialize
Window << super(800,608,nil,40)
self.caption = 'KBookPages'
@scene = SceneKBookPages.new(1)
end
|
Instance Method Details
17
18
19
|
# File 'lib/games_paradise/gui/gosu/books/main_window.rb', line 17
def button_down(id)
@scene.button_down(id)
end
|
21
|
# File 'lib/games_paradise/gui/gosu/books/main_window.rb', line 21
def button_down?(id) @scene.button_down?(id) end
|
20
|
# File 'lib/games_paradise/gui/gosu/books/main_window.rb', line 20
def button_up(id) @scene.button_up(id) end
|
#draw ⇒ Object
23
|
# File 'lib/games_paradise/gui/gosu/books/main_window.rb', line 23
def draw() @scene.draw end
|
#update ⇒ Object
22
|
# File 'lib/games_paradise/gui/gosu/books/main_window.rb', line 22
def update() @scene.update end
|