Package | org.flixel.data |
Class | public class FlxPause |
Inheritance | FlxPause ![]() ![]() ![]() ![]() ![]() |
FlxLayer
object.
Method | Defined By | ||
---|---|---|---|
FlxPause()
Constructor. | FlxPause | ||
![]() |
Adds a new FlxObject subclass (FlxSprite, FlxBlock, etc) to the list of children
| FlxGroup | |
![]() | FlxObject | ||
![]() | countDead():int
Call this function to find out how many members of the group are dead. | FlxGroup | |
![]() | countLiving():int
Call this function to find out how many members of the group are not dead. | FlxGroup | |
![]() | countOnScreen():int
Returns a count of how many objects in this group are on-screen right now. | FlxGroup | |
![]() | destroy():void [override]
Override this function to handle any deleting or "shutdown" type operations you might need,
such as removing traditional Flash children like Sprite objects. | FlxGroup | |
![]() | flicker(Duration:Number = 1):void
Tells this object to flicker, retro-style. | FlxObject | |
![]() | flickering():Boolean
Check to see if the object is still flickering. | FlxObject | |
![]() |
Call this function to retrieve the first object with dead == false in the group. | FlxGroup | |
![]() |
Call this function to retrieve the first object with exists == false in the group. | FlxGroup | |
![]() |
Call this function to retrieve the first object with dead == true in the group. | FlxGroup | |
![]() |
Call this function to retrieve the first object with exists == true in the group. | FlxGroup | |
![]() | getFirstNull():int
Call this function to retrieve the first index set to 'null'. | FlxGroup | |
![]() |
Returns a member at random from the group. | FlxGroup | |
![]() |
Call this function to figure out the on-screen position of the object. | FlxObject | |
![]() |
Called when this object's bottom edge collides with the top of another FlxObject. | FlxObject | |
![]() |
Called when this object's left side collides with another FlxObject's right. | FlxObject | |
![]() |
Called when this object's right side collides with another FlxObject's left. | FlxObject | |
![]() |
Called when this object's top collides with the bottom of another FlxObject. | FlxObject | |
![]() | hurt(Damage:Number):void
Call this function to "damage" (or give health bonus) to this sprite. | FlxObject | |
![]() | kill():void [override]
Calls kill on the group and all its members. | FlxGroup | |
![]() | onScreen():Boolean
Check and see if this object is currently on screen. | FlxObject | |
![]() |
Checks to see if some FlxObject object overlaps this FlxObject object. | FlxObject | |
![]() | overlapsPoint(X:Number, Y:Number, PerPixel:Boolean = false):Boolean
Checks to see if a point in 2D space overlaps this FlxObject object. | FlxObject | |
![]() | preCollide(Object:FlxObject):void
FlxU.collide() (and thus FlxObject.collide()) call
this function each time two objects are compared to see if they collide. | FlxObject | |
![]() | refreshHulls():void
Called by FlxObject.updateMotion() and some constructors to
rebuild the basic collision data for this object. | FlxObject | |
![]() |
Removes an object from the group. | FlxGroup | |
![]() | render():void [override]
Automatically goes through and calls render on everything you added,
override this loop to control render order manually. | FlxGroup | |
![]() |
Replaces an existing FlxObject with a new one. | FlxGroup | |
![]() | reset(X:Number, Y:Number):void [override]
If the group's position is reset, we want to reset all its members too. | FlxGroup | |
![]() | resetFirstAvail(X:Number = 0, Y:Number = 0):Boolean
Finds the first object with exists == false and calls reset on it. | FlxGroup | |
![]() | toString():String [override] | FlxGroup | |
![]() | update():void [override]
Automatically goes through and calls update on everything you added,
override this function to handle custom input and perform collisions. | FlxGroup |