Skip to content

Commit 0d5953f

Browse files
committed
Revert "Add FlxGroup::revive()"
The following commit has been undone: #110 And a tiny bit of documentation has been added describing the changes. Discussion: - #185 - #30 (comment)
1 parent b4d3ace commit 0d5953f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/org/flixel/FlxGroup.as

+1-10
Original file line numberDiff line numberDiff line change
@@ -573,21 +573,12 @@ package org.flixel
573573
}
574574

575575
/**
576-
* Calls revive on the group itself and then on the group's members.
576+
* Calls revive on the group object. <i>Note: Does not revive any of the members!</i>
577577
*/
578578
override public function revive():void
579579
{
580580
// Revive the group itself
581581
super.revive();
582-
583-
var basic:FlxBasic;
584-
var i:uint = 0;
585-
while(i < length)
586-
{
587-
basic = members[i++] as FlxBasic;
588-
if((basic != null) && !basic.alive)
589-
basic.revive();
590-
}
591582
}
592583

593584
/**

0 commit comments

Comments
 (0)