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 GetItemByFullName(const AName: string): 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 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 GetItemByFullName(const AName: string): TItem; |
![]() | procedure HandleMessage(const Msg: TMessage); override; |
|
Last modified: 26 Oct, 2008 |