22 #ifndef TITANIC_TREE_ITEM_H 23 #define TITANIC_TREE_ITEM_H 25 #include "titanic/core/message_target.h" 26 #include "titanic/support/simple_file.h" 54 void dump(
int indent);
129 virtual bool isEquals(
const CString &name,
bool startsWith =
false)
const{
return false; }
virtual bool isGameObject() const
CTreeItem * getNextSibling() const
Definition: tree_item.h:174
CTreeItem * getParent() const
Definition: tree_item.h:164
virtual bool isEquals(const CString &name, bool startsWith=false) const
Definition: tree_item.h:129
virtual void draw(CScreenManager *screenManager)
Definition: tree_item.h:149
CTreeItem * getLastSibling()
virtual CGameManager * getGameManager() const
CTreeItem * findChildInstanceOf(ClassDef *classDef) const
virtual bool isNodeItem() const
CTreeItem * getLastChild() const
void setParent(CTreeItem *newParent)
virtual bool isPlaceHolderItem() const
Definition: simple_file.h:49
Definition: saveable_object.h:35
CNamedItem * findByName(const CString &name, bool subMatch=false)
void moveUnder(CTreeItem *newParent)
Definition: named_item.h:33
virtual bool connectsTo(CViewItem *destView) const
Definition: tree_item.h:144
Definition: screen_manager.h:49
virtual bool isNamedItem() const
CTreeItem * getPriorSibling() const
Definition: tree_item.h:179
virtual int compareTo(const CString &name, int maxLen=0) const
Definition: tree_item.h:134
virtual Rect getBounds() const
Definition: tree_item.h:154
Definition: tree_item.h:37
Definition: game_manager.h:48
CProjectItem * getRoot() const
virtual void freeSurface()
Definition: tree_item.h:159
virtual CString dumpItem(int indent) const
void addUnder(CTreeItem *newParent)
Definition: project_item.h:84
virtual const CMovieClipList * getMovieClips() const
Definition: tree_item.h:139
Definition: movie_clip.h:69
CTreeItem * scan(CTreeItem *item) const
virtual bool isViewItem() const
void attach(CTreeItem *item)
virtual bool isLinkItem() const
Definition: message_target.h:85
void load(SimpleFile *file) override
CTreeItem * getFirstChild() const
Definition: tree_item.h:189
virtual bool isRoomItem() const
Definition: messages.h:91
void save(SimpleFile *file, int indent) override
virtual bool isGameObjectDescItem() const
void addSibling(CTreeItem *item)
virtual bool isFileItem() const
Definition: view_item.h:32
CTreeItem * findNextInstanceOf(ClassDef *classDef, CTreeItem *startItem) const
virtual const CString getName() const
Definition: tree_item.h:124