Skip to content

Commit

Permalink
Revert "Add FlxGroup::revive()"
Browse files Browse the repository at this point in the history
The following commit has been undone:
FlixelCommunity#110

And a tiny bit of documentation has been added describing the changes.

Discussion:
 - FlixelCommunity#185
 -
FlixelCommunity#30 (comment)
  • Loading branch information
IQAndreas committed Oct 26, 2013
1 parent b4d3ace commit 0d5953f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/org/flixel/FlxGroup.as
Original file line number Diff line number Diff line change
Expand Up @@ -573,21 +573,12 @@ package org.flixel
}

/**
* Calls revive on the group itself and then on the group's members.
* Calls revive on the group object. <i>Note: Does not revive any of the members!</i>
*/
override public function revive():void
{
// Revive the group itself
super.revive();

var basic:FlxBasic;
var i:uint = 0;
while(i < length)
{
basic = members[i++] as FlxBasic;
if((basic != null) && !basic.alive)
basic.revive();
}
}

/**
Expand Down

0 comments on commit 0d5953f

Please sign in to comment.