Method: Pixelart::GeneratorEx#initialize
- Defined in:
- lib/punks/pixelart/generator.rb
#initialize(sheet, image_class:) ⇒ GeneratorEx
Returns a new instance of GeneratorEx.
29 30 31 32 33 34 |
# File 'lib/punks/pixelart/generator.rb', line 29 def initialize( sheet, image_class: ) @sheet = sheet @image_class = image_class puts " [punkfactory] using image class >#{@image_class.name}< for #{@sheet.image.tile_width}x#{@sheet.image.tile_height} images" end |