Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 25, 2008, 5:13:35 PM (17 years ago)
Author:
landauf
Message:

renamed Level to XMLFile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/core/BaseObject.h

    r1989 r2010  
    8181            virtual void changedVisibility() {}
    8282
    83             /** @brief Sets a pointer to the level that loaded this object. @param level The pointer to the level */
    84             inline void setLevel(const Level* level) { this->level_ = level; }
    85             /** @brief Returns a pointer to the level that loaded this object. @return The level */
    86             inline const Level* getLevel() const { return this->level_; }
    87             const std::string& getLevelfile() const;
     83            /** @brief Sets a pointer to the xml file that loaded this object. @param file The pointer to the XMLFile */
     84            inline void setFile(const XMLFile* file) { this->file_ = file; }
     85            /** @brief Returns a pointer to the XMLFile that loaded this object. @return The XMLFile */
     86            inline const XMLFile* getFile() const { return this->file_; }
     87            const std::string& getFilename() const;
    8888
    8989            void addTemplate(const std::string& name);
     
    111111
    112112            bool bInitialized_;                         //!< True if the object was initialized (passed the object registration)
    113             const Level* level_;                        //!< The level that loaded this object
     113            const XMLFile* file_;                       //!< The XMLFile that loaded this object
    114114            std::string loaderIndentation_;             //!< Indentation of the debug output in the Loader
    115115            Namespace* namespace_;
Note: See TracChangeset for help on using the changeset viewer.