Class: FadeExample

Inherits:
GGLib::GUIWindow show all
Defined in:
lib/examples/FadeIn.rb

Constant Summary

Constants inherited from GGLib::GUIWindow

GGLib::GUIWindow::BlankState

Instance Attribute Summary

Attributes inherited from GGLib::GUIWindow

#background_image, #camera, #cursor, #images, #mapimages, #state

Instance Method Summary collapse

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

#initializeFadeExample

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