phaser/v3/src/gameobjects/tilemap/components/index.js
Michael Hadley bdea565586 Better optimized calc/recalc faces methods for tiles
These eliminate the need for the preventRecalc method from v2. If an individual tile is changed with putTileAt, only the min number of faces will be recalculated (vs all faces being recalculated in v2)
2017-11-21 19:16:46 -06:00

30 lines
1.2 KiB
JavaScript

module.exports = {
Copy: require('./Copy'),
CullTiles: require('./CullTiles'),
Fill: require('./Fill'),
FindByIndex: require('./FindByIndex'),
ForEachTile: require('./ForEachTile'),
GetTileAt: require('./GetTileAt'),
GetTileAtWorldXY: require('./GetTileAtWorldXY'),
GetTilesWithin: require('./GetTilesWithin'),
HasTileAt: require('./HasTileAt'),
HasTileAtWorldXY: require('./HasTileAtWorldXY'),
IsInLayerBounds: require('./IsInLayerBounds'),
PutTileAt: require('./PutTileAt'),
PutTileAtWorldXY: require('./PutTileAtWorldXY'),
Randomize: require('./Randomize'),
CalculateFacesWithin: require('./CalculateFacesWithin'),
RemoveTileAt: require('./RemoveTileAt'),
RemoveTileAtWorldXY: require('./RemoveTileAtWorldXY'),
ReplaceByIndex: require('./ReplaceByIndex'),
SetCollision: require('./SetCollision'),
SetCollisionBetween: require('./SetCollisionBetween'),
SetCollisionByExclusion: require('./SetCollisionByExclusion'),
Shuffle: require('./Shuffle'),
SwapByIndex: require('./SwapByIndex'),
WorldToTileX: require('./WorldToTileX'),
WorldToTileXY: require('./WorldToTileXY'),
WorldToTileY: require('./WorldToTileY')
};