Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 11, 2008, 10:30:49 PM (15 years ago)
Author:
rgrieder
Message:
  • Added first basic construct of object hierarchy with physics.
  • Added a few bullet classes to OrxonoxPrereqs.h
  • Added bullet header files to the msvc projects.

No Implementation at all yet, but the game still compiles and runs. Please update the media repository.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • code/branches/physics/src/orxonox/objects/worldentities/PositionableEntity.h

    r2151 r2178  
    2727 */
    2828
    29 #ifndef _StaticEntity_H__
    30 #define _StaticEntity_H__
     29#ifndef _PositionableEntity_H__
     30#define _PositionableEntity_H__
    3131
    3232#include "OrxonoxPrereqs.h"
    33 #include "WorldEntity.h"
     33#include "MovableEntity.h"
    3434
    3535namespace orxonox
    3636{
    37     class _OrxonoxExport StaticEntity : public WorldEntity
     37    class _OrxonoxExport PositionableEntity : public MovableEntity
    3838    {
    3939        public:
    40             StaticEntity(BaseObject* creator);
    41             virtual ~StaticEntity();
     40            PositionableEntity(BaseObject* creator);
     41            virtual ~PositionableEntity();
    4242
    4343            void registerVariables();
     
    7171            inline void setDirection(const Vector3& direction, Ogre::Node::TransformSpace relativeTo = Ogre::Node::TS_LOCAL, const Vector3& localDirectionVector = Vector3::NEGATIVE_UNIT_Z)
    7272                { this->node_->setDirection(direction, relativeTo, localDirectionVector); }
     73
     74        private:
     75            //void attachPhysicalObject(WorldEntity* object);
    7376    };
    7477}
    7578
    76 #endif /* _StaticEntity_H__ */
     79#endif /* _PositionableEntity_H__ */
Note: See TracChangeset for help on using the changeset viewer.