Class: GGLib::DrawnThemeInstance

Inherits:
ThemeInstance show all
Defined in:
lib/theme.rb

Instance Method Summary collapse

Methods inherited from ThemeInstance

#font, #height, #initialize, #name, #setCoords, #setDefaultState, #setDownState, #setOverState, #setSleepState, #setWakeState, #width

Constructor Details

This class inherits a constructor from GGLib::ThemeInstance

Instance Method Details

#drawObject



145
146
147
# File 'lib/theme.rb', line 145

def draw
  @klass.draw(@x1, @y1, @x2, @y2, @state)
end