CAST II Game Engine |
||||||||
![]() |
MAIN | FEATURES | SCREENSHOTS | FORUMS | MANUAL | DOWNLOADS | CONTACTS | |
type TRootItem = class(TItem)
A hierarchy root item should be of this (or a descendant) class.
TItem > TBaseItem![]() | constructor Create(AManager: TItemsManager); override; |
![]() | function Extract(Condition: TExtractConditionFunc; out Items: TItems): Integer; |
![]() | function ExtractByClass(AClass: CItem; out Items: TItems): Integer; |
![]() | function ExtractByMask(Mask: TItemFlags; Hierarchical: Boolean; out Items: TItems): Integer; |
![]() | function ExtractByMaskClass(Mask: TItemFlags; AClass: CItem; out Items: TItems): Integer; |
![]() | function GetItemByFullName(const AName: AnsiString): TItem; |
![]() | procedure HandleMessage(const Msg: TMessage); override; |
![]() | constructor Create(AManager: TItemsManager); override; |
![]() | function Extract(Condition: TExtractConditionFunc; out Items: TItems): Integer; |
Traverses through the items hierarchy and adds all items passing Condition to Items. Returns number of items in Items.
![]() | function ExtractByClass(AClass: CItem; out Items: TItems): Integer; |
Traverses through the items hierarchy and adds all items of the given class or its descendants to Items. Returns number of items in Items.
![]() | function ExtractByMask(Mask: TItemFlags; Hierarchical: Boolean; out Items: TItems): Integer; |
Traverses through the items hierarchy and adds to Items all items which State contains all flags in Mask. If Hierarchical is True childs of non-matching items are not considered. Returns number of items in Items.
![]() | function ExtractByMaskClass(Mask: TItemFlags; AClass: CItem; out Items: TItems): Integer; |
Traverses through the items hierarchy and adds all items of the given class or its descendants and with State containing all flags in Mask to Items. Childs of items with non-matching state are not considered. Returns number of items in Items.
![]() | function GetItemByFullName(const AName: AnsiString): TItem; |
![]() | procedure HandleMessage(const Msg: TMessage); override; |
|
Last modified: Jan 6, 2010 |