Class: Tmx::TileSet

Inherits:
Object
  • Object
show all
Defined in:
lib/tmx_ext/tile_set.rb

Overview

Define additional functionaly or override existing functionaliy on the Tmx class to make it compatible with Metro.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#windowObject

Returns the value of attribute window.



8
9
10
# File 'lib/tmx_ext/tile_set.rb', line 8

def window
  @window
end

Instance Method Details

#imagesObject



10
11
12
# File 'lib/tmx_ext/tile_set.rb', line 10

def images
  @images ||= raw_image_tiles.map {|image| crop_image(image) }
end