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.cc

    r2151 r2178  
    2828
    2929#include "OrxonoxStableHeaders.h"
    30 #include "StaticEntity.h"
     30#include "PositionableEntity.h"
    3131#include "core/CoreIncludes.h"
    3232
    3333namespace orxonox
    3434{
    35     CreateFactory(StaticEntity);
     35    CreateFactory(PositionableEntity);
    3636
    37     StaticEntity::StaticEntity(BaseObject* creator) : WorldEntity(creator)
     37    PositionableEntity::PositionableEntity(BaseObject* creator) : MovableEntity(creator)
    3838    {
    39         RegisterObject(StaticEntity);
     39        RegisterObject(PositionableEntity);
    4040
    4141        this->registerVariables();
    4242    }
    4343
    44     StaticEntity::~StaticEntity()
     44    PositionableEntity::~PositionableEntity()
    4545    {
    4646    }
    4747
    48     void StaticEntity::registerVariables()
     48    void PositionableEntity::registerVariables()
    4949    {
    5050        REGISTERDATA(this->getPosition().x, network::direction::toclient);
     
    5757        REGISTERDATA(this->getOrientation().z, network::direction::toclient);
    5858    }
     59
     60    //void PositionableEntity::attachPhysicalObject(WorldEntity* object)
     61    //{
     62    //}
    5963}
Note: See TracChangeset for help on using the changeset viewer.