Changeset 5805 for code/branches/core5/src/libraries/core/BaseObject.h
- Timestamp:
- Sep 27, 2009, 2:33:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/BaseObject.h
r5738 r5805 53 53 #include "OrxonoxClass.h" 54 54 #include "Super.h" 55 #include "SmartPtr.h" 55 56 56 57 namespace orxonox … … 134 135 inline BaseObject* getCreator() const { return this->creator_; } 135 136 136 inline void setScene( Scene*scene) { this->scene_ = scene; }137 inline Scene*getScene() const { return this->scene_; }137 inline void setScene(const SmartPtr<Scene>& scene) { this->scene_ = scene; } 138 inline const SmartPtr<Scene>& getScene() const { return this->scene_; } 138 139 139 140 inline void setGametype(Gametype* gametype) … … 194 195 Namespace* namespace_; 195 196 BaseObject* creator_; 196 S cene*scene_;197 SmartPtr<Scene> scene_; 197 198 Gametype* gametype_; 198 199 Gametype* oldGametype_;
Note: See TracChangeset
for help on using the changeset viewer.