Class: Tmx::TileSet
- Inherits:
-
Object
- Object
- Tmx::TileSet
- 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
-
#window ⇒ Object
Returns the value of attribute window.
Instance Method Summary collapse
Instance Attribute Details
#window ⇒ Object
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
#images ⇒ Object
10 11 12 |
# File 'lib/tmx_ext/tile_set.rb', line 10 def images @images ||= raw_image_tiles.map {|image| crop_image(image) } end |