Difference between revisions of "TileMap"

From GiderosMobile
Line 10: Line 10:
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
[[TileMap.new]] - creates a new TileMap instance<br/>
+
[[TileMap.new]] {{<translate>creates a new TileMap instance</translate>}}<br/>
[[TileMap:clearTile]] - set an empty tile at given indices<br/>
+
[[TileMap:clearTile]] {{<translate>set an empty tile at given indices</translate>}}<br/>
[[TileMap:getTile]] - returns the index of the tile<br/>
+
[[TileMap:getTile]] {{<translate>returns the index of the tile</translate>}}<br/>
[[TileMap:setRepeat]] - Indicate if the tilemap should repeat itself<br/>
+
[[TileMap:setRepeat]] {{<translate>Indicate if the tilemap should repeat itself</translate>}}<br/>
[[TileMap:setTexture]] - Change the tile texture/atlas used by the tilemap<br/>
+
[[TileMap:setTexture]] {{<translate>Change the tile texture/atlas used by the tilemap</translate>}}<br/>
[[TileMap:setTile]] - sets the index of the tile<br/>
+
[[TileMap:setTile]] {{<translate>sets the index of the tile</translate>}}<br/>
[[TileMap:shift]] - shifts the tile map<br/>
+
[[TileMap:shift]] {{<translate>shifts the tile map</translate>}}<br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===

Revision as of 15:19, 23 August 2018