Sha256: 049f6dab8fe5f945e37aa807b7722cc30221c79e268fa834f8bf0ec8ebafdf48
Contents?: true
Size: 676 Bytes
Versions: 2
Compression:
Stored size: 676 Bytes
Contents
Joybox::TMX::TileSet = CCTMXTilesetInfo class CCTMXTilesetInfo include Joybox::Common alias_method :first_tile_type, :firstGid alias_method :first_tile_type, :setFirstGid alias_method :image_file_name, :sourceImage alias_method :image_file_name=, :setSourceImage alias_method :image_size, :imageSize alias_method :image_size=, :setImageSize alias_method :tile_offset, :tileOffset alias_method :tile_offset=, :setTileOffset alias_method :anchor_point, :tileAnchorPoint def tile_size return tileSize unless Device.retina? return tileSize.half if Device.retina? end def rect_for_tile_type(tile_type) rectForGID(tile_type) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joybox-1.1.1 | motion/joybox/tmx/tile_set.rb |
joybox-1.1.0 | motion/joybox/tmx/tile_set.rb |