@@ -134,7 +134,7 @@ var DynamicTilemapLayer = new Class({
134134 /**
135135 * You can control if the Cameras should cull tiles before rendering them or not.
136136 * By default the camera will try to cull the tiles in this layer, to avoid over-drawing to the renderer.
137- *
137+ *
138138 * However, there are some instances when you may wish to disable this, and toggling this flag allows
139139 * you to do so. Also see `setSkipCull` for a chainable method that does the same thing.
140140 *
@@ -166,7 +166,7 @@ var DynamicTilemapLayer = new Class({
166166
167167 /**
168168 * The amount of extra tiles to add into the cull rectangle when calculating its horizontal size.
169- *
169+ *
170170 * See the method `setCullPadding` for more details.
171171 *
172172 * @name Phaser.Tilemaps.DynamicTilemapLayer#cullPaddingX
@@ -178,7 +178,7 @@ var DynamicTilemapLayer = new Class({
178178
179179 /**
180180 * The amount of extra tiles to add into the cull rectangle when calculating its vertical size.
181- *
181+ *
182182 * See the method `setCullPadding` for more details.
183183 *
184184 * @name Phaser.Tilemaps.DynamicTilemapLayer#cullPaddingY
@@ -190,15 +190,15 @@ var DynamicTilemapLayer = new Class({
190190
191191 /**
192192 * The callback that is invoked when the tiles are culled.
193- *
193+ *
194194 * By default it will call `TilemapComponents.CullTiles` but you can override this to call any function you like.
195- *
195+ *
196196 * It will be sent 3 arguments:
197- *
197+ *
198198 * 1) The Phaser.Tilemaps.LayerData object for this Layer
199199 * 2) The Camera that is culling the layer. You can check its `dirty` property to see if it has changed since the last cull.
200200 * 3) A reference to the `culledTiles` array, which should be used to store the tiles you want rendered.
201- *
201+ *
202202 * See the `TilemapComponents.CullTiles` source code for details on implementing your own culling system.
203203 *
204204 * @name Phaser.Tilemaps.DynamicTilemapLayer#cullCallback
@@ -270,7 +270,7 @@ var DynamicTilemapLayer = new Class({
270270 * @param {(integer|array) } replacements - The tile index, or array of indexes, to change a converted
271271 * tile to. Set to `null` to leave the tiles unchanged. If an array is given, it is assumed to be a
272272 * one-to-one mapping with the indexes array.
273- * @param {object } spriteConfig - The config object to pass into the Sprite creator (i.e.
273+ * @param {SpriteConfig } spriteConfig - The config object to pass into the Sprite creator (i.e.
274274 * scene.make.sprite).
275275 * @param {Phaser.Scene } [scene=scene the map is within] - The Scene to create the Sprites within.
276276 * @param {Phaser.Cameras.Scene2D.Camera } [camera=main camera] - The Camera to use when determining the world XY
@@ -822,9 +822,9 @@ var DynamicTilemapLayer = new Class({
822822 /**
823823 * You can control if the Cameras should cull tiles before rendering them or not.
824824 * By default the camera will try to cull the tiles in this layer, to avoid over-drawing to the renderer.
825- *
825+ *
826826 * However, there are some instances when you may wish to disable this.
827- *
827+ *
828828 * @method Phaser.Tilemaps.DynamicTilemapLayer#setSkipCull
829829 * @since 3.11.0
830830 *
@@ -842,12 +842,12 @@ var DynamicTilemapLayer = new Class({
842842 } ,
843843
844844 /**
845- * When a Camera culls the tiles in this layer it does so using its view into the world, building up a
845+ * When a Camera culls the tiles in this layer it does so using its view into the world, building up a
846846 * rectangle inside which the tiles must exist or they will be culled. Sometimes you may need to expand the size
847847 * of this 'cull rectangle', especially if you plan on rotating the Camera viewing the layer. Do so
848848 * by providing the padding values. The values given are in tiles, not pixels. So if the tile width was 32px
849849 * and you set `paddingX` to be 4, it would add 32px x 4 to the cull rectangle (adjusted for scale)
850- *
850+ *
851851 * @method Phaser.Tilemaps.DynamicTilemapLayer#setCullPadding
852852 * @since 3.11.0
853853 *
0 commit comments