Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Location:
code/branches/objecthierarchy/src/orxonox/core
Files:
2 edited

Legend:

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

    r457 r460  
    2222#include "OgreVector3.h"
    2323#include "OgreColourValue.h"
     24#include "OgreQuaternion.h"
     25#include "OgreMatrix3.h"
    2426
    2527
     
    3032    typedef Ogre::Vector3 Vector3;
    3133    typedef Ogre::ColourValue ColourValue;
     34    typedef Ogre::Radian Radian;
     35    typedef Ogre::Real Real;
     36    typedef Ogre::Quaternion Quaternion;
     37    typedef Ogre::Matrix3 Matrix3;
    3238}
    3339
  • 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.