Class: Flonkerton::Image

Inherits:
Gosu::Image
  • Object
show all
Includes:
Drawable
Defined in:
lib/flonkerton.rb

Class Method Summary collapse

Methods included from Drawable

#draw

Class Method Details

.load_tiles(game, file, width, height, border = true) ⇒ Object



52
53
54
55
56
# File 'lib/flonkerton.rb', line 52

def self.load_tiles(game, file, width, height, border = true)
  super(game, file, width, height, border).each do |image|
    image.extend(Drawable)
  end
end