I'm trying to set some tiles to be collidable. In the FlxTilemap.setTileProperties method, the documentation says the following:
Tile: The tile or tiles you want to adjust.
Is this referring to the tile type (i.e, the number of the tile in the tilesheet) or to the number of the tile in the map (i.e, the position of an "instantiated" tile in the map)?
I'm also confused about the content of FlxTilemap._tileObjects:
Internal collection of tile objects, one for each type of tile in the map (NOTE one for every single tile in the whole map).
This documentation is quite confusing... To me, the note means the complete opposite of the previous sentence.
Can someone clarify this to me?
Thank you.