| Package | com.pblabs.engine.core |
| Class | public class PBGroup |
| Inheritance | PBGroup PBObject Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | alias : String [read-only] | PBObject | |
| length : int [read-only]
How many PBObjects are in this group?
| PBGroup | ||
![]() | name : String [read-only] | PBObject | |
![]() | owningGroup : PBGroup | PBObject | |
| Property | Defined By | ||
|---|---|---|---|
| items : Array | PBGroup | ||
![]() | _name : String | PBObject | |
![]() | _owningGroup : PBGroup | PBObject | |
![]() | _sets : Array | PBObject | |
| Method | Defined By | ||
|---|---|---|---|
addToGroup(item:IPBObject):Boolean | PBGroup | ||
clear():void
Destroy all the objects in this group, but do not delete the group. | PBGroup | ||
destroy():void [override] | PBGroup | ||
Return the IPBObject at the specified index. | PBGroup | ||
![]() | initialize(name:String = null, alias:String = null):void | PBObject | |
![]() | PBObject | ||
![]() | noteOutOfSet(s:PBSet):void | PBObject | |
removeFromGroup(item:IPBObject):Boolean | PBGroup | ||
| items | property |
protected var items:Array| length | property |
length:int [read-only] How many PBObjects are in this group?
public function get length():int| addToGroup | () | method |
| clear | () | method |
public function clear():voidDestroy all the objects in this group, but do not delete the group.
| destroy | () | method |
override public function destroy():void| getItem | () | method |
public function getItem(index:int):IPBObjectReturn the IPBObject at the specified index.
Parameters
index:int |
IPBObject |
| removeFromGroup | () | method |