Browse Source

correct doc error

Guide 6 years ago
parent
commit
c799931e53
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/Sprites/spriteManager.ts
  2. 1 1
      src/Sprites/spritePackedManager.ts

+ 1 - 1
src/Sprites/spriteManager.ts

@@ -141,7 +141,7 @@ export class SpriteManager implements ISpriteManager {
      * @param epsilon defines the epsilon value to align texture (0.01 by default)
      * @param samplingMode defines the smapling mode to use with spritesheet
      * @param fromPacked set to false; do not alter
-     * @param spriteJSON, null otherwise a JSON object defining sprite sheet data; do not alter
+     * @param spriteJSON null otherwise a JSON object defining sprite sheet data; do not alter
      */
     constructor(
         /** defines the manager's name */

+ 1 - 1
src/Sprites/spritePackedManager.ts

@@ -15,7 +15,7 @@ export class SpritePackedManager extends SpriteManager{
      * @param imgUrl defines the sprite sheet url
      * @param capacity defines the maximum allowed number of sprites
      * @param scene defines the hosting scene
-     * @param spriteJSON, null otherwise a JSON object defining sprite sheet data
+     * @param spriteJSON null otherwise a JSON object defining sprite sheet data
      * @param epsilon defines the epsilon value to align texture (0.01 by default)
      * @param samplingMode defines the smapling mode to use with spritesheet
      * @param fromPacked set to true; do not alter