Class: FadeExample
- Inherits:
-
GGLib::GUIWindow
- Object
- Gosu::Window
- GGLib::GUIWindow
- FadeExample
- Defined in:
- lib/examples/FadeIn.rb
Constant Summary
Constants inherited from GGLib::GUIWindow
Instance Attribute Summary
Attributes inherited from GGLib::GUIWindow
#background_image, #camera, #cursor, #images, #mapimages, #state
Instance Method Summary collapse
-
#initialize ⇒ FadeExample
constructor
A new instance of FadeExample.
Methods inherited from GGLib::GUIWindow
#button_down, #button_up, #createWidgets, #deleteAllImages, #deleteAllMapImages, #deleteAllWidgets, #deleteImage, #deleteMapImage, #deleteWidget, #draw, #framedrawn, #hasFocus, #hasStickyFocus, #newImage, #newMapImage, #newTexture, #newWidget, #setBackground, #setFocus, #setImage, #setMapBackground, #setStickyFocus, #setTextInput, #setTexture, #timer, #update, #widgets
Constructor Details
#initialize ⇒ FadeExample
Returns a new instance of FadeExample.
16 17 18 19 20 |
# File 'lib/examples/FadeIn.rb', line 16 def initialize super(640, 480, false, 20) self.caption = "GGLib Tutorial" self.state = StartMenu.new end |