class RuGUI::BaseImageSprite

Public Class Methods

new(name) click to toggle source
# File lib/rugui/framework_adapters/Rubygame.rb, line 224
def initialize(name)
  @groups = []
  @depth = 0

  @image = Rubygame::Surface[name]
  @image.set_colorkey(@image.get_at([0, 0]))
  @rect = @image.make_rect
end