Changeset 1684 for code/branches/core3/src/core/BaseObject.h
- Timestamp:
- Aug 31, 2008, 4:32:31 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/core/BaseObject.h
r1592 r1684 39 39 #include "CorePrereqs.h" 40 40 41 #include "Super.h" 42 #include "OrxonoxClass.h" 41 43 #include "util/XMLIncludes.h" 42 #include "OrxonoxClass.h"43 44 44 45 namespace orxonox … … 65 66 66 67 /** @brief Sets the state of the objects activity. @param bActive True = active */ 67 inline void setActiv ity(bool bActive) { this->bActive_ = bActive; this->changedActivity(); }68 inline void setActive(bool bActive) { this->bActive_ = bActive; this->changedActivity(); } 68 69 /** @brief Returns the state of the objects activity. @return The state of the activity */ 69 70 inline bool isActive() const { return this->bActive_; } … … 72 73 73 74 /** @brief Sets the state of the objects visibility. @param bVisible True = visible */ 74 inline void setVisib ility(bool bVisible) { this->bVisible_ = bVisible; this->changedVisibility(); }75 inline void setVisible(bool bVisible) { this->bVisible_ = bVisible; this->changedVisibility(); } 75 76 /** @brief Returns the state of the objects visibility. @return The state of the visibility */ 76 77 inline bool isVisible() const { return this->bVisible_; } … … 101 102 Namespace* namespace_; 102 103 }; 104 105 SUPER_FUNCTION(1, BaseObject, XMLPort, false); 106 SUPER_FUNCTION(3, BaseObject, changedActivity, false); 107 SUPER_FUNCTION(4, BaseObject, changedVisibility, false); 103 108 } 104 109
Note: See TracChangeset
for help on using the changeset viewer.