Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 12, 2007, 1:18:46 AM (16 years ago)
Author:
landauf
Message:

first try to add a WorldEntity. at the moment it's just a class with an Ogre::SceneNode

File:
1 edited

Legend:

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

    r447 r460  
    103103
    104104            /** @brief Sets the name of the object. @param name The name */
    105             inline void setName(const std::string& name) { this->name_ = name; }
     105            inline virtual void setName(const std::string& name) { this->name_ = name; }
    106106
    107107            /** @returns the name of the object. */
     
    109109
    110110            /** @brief Sets the state of the objects activity. @param bActive True = active */
    111             inline void setActive(bool bActive) { this->bActive_ = bActive; }
     111            inline virtual void setActive(bool bActive) { this->bActive_ = bActive; }
    112112
    113113            /** @returns the state of the objects activity. */
     
    115115
    116116            /** @brief Sets the state of the objects visibility. @param bVisible True = visible */
    117             inline void setVisible(bool bVisible) { this->bVisible_ = bVisible; }
     117            inline virtual void setVisible(bool bVisible) { this->bVisible_ = bVisible; }
    118118
    119119            /** @returns the state of the objects visibility. */
Note: See TracChangeset for help on using the changeset viewer.