Skip to content

Commit 5cb7cc8

Browse files
committed
Start of the new Children component.
1 parent 6ce2865 commit 5cb7cc8

2 files changed

Lines changed: 704 additions & 2 deletions

File tree

src/core/Group.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2397,7 +2397,7 @@ Phaser.Group.prototype.getRandomExists = function (startIndex, endIndex) {
23972397
* For example: `getAll('exists', true)` would return only children that have their exists property set.
23982398
*
23992399
* Optionally you can specify a start and end index. For example if this Group had 100 children,
2400-
* and you set `startIndex` to 0 and `endIndex` to 50, it would return a random child from only
2400+
* and you set `startIndex` to 0 and `endIndex` to 50, it would return matches from only
24012401
* the first 50 children in the Group.
24022402
*
24032403
* @method Phaser.Group#getAll
@@ -2554,7 +2554,7 @@ Phaser.Group.prototype.removeAll = function (destroy, silent, destroyTexture) {
25542554
};
25552555

25562556
/**
2557-
* Removes all children from this group whose index falls beteen the given startIndex and endIndex values.
2557+
* Removes all children from this group whose index falls between the given startIndex and endIndex values.
25582558
*
25592559
* @method Phaser.Group#removeBetween
25602560
* @param {integer} startIndex - The index to start removing children from.

0 commit comments

Comments
 (0)