Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6142 in orxonox.OLD for trunk/src/world_entities/world_entity.h


Ignore:
Timestamp:
Dec 16, 2005, 7:13:57 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merge the ObjectManager to the trunk
merged with command:
svn merge -r6082:HEAD objectmanager/ ../trunk/

conflicts resolution was easy this time :)
but specially merged the world to network_world

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/world_entity.h

    r6005 r6142  
    1111#include "model.h"
    1212
     13#include "object_manager.h"
    1314#include "glincl.h"
    1415#include <vector>
     
    6566  //  CharacterAttributes* getCharacterAttributes();
    6667
     68  void toList(OM_LIST list);
    6769
     70  /** @returns a Reference to the objectListNumber to set. */
     71  OM_LIST& getOMListNumber() { return this->objectListNumber; }
     72  /** @returns a Reference to the Iterator */
     73  std::list<WorldEntity*>::iterator& getEntityIterator() { return this->objectListIterator; }
    6874 protected:
    6975  //  CharacterAttributes*    charAttr;         //!< the character attributes of a world_entity
    7076
    7177 private:
    72   std::vector<Model*>     models;            //!< The model that should be loaded for this entity.
    73   BVTree*                 obbTree;          //!< this is the obb tree reference needed for collision detection
     78  std::vector<Model*>     models;             //!< The model that should be loaded for this entity.
     79  BVTree*                 obbTree;            //!< this is the obb tree reference needed for collision detection
    7480
    75   bool                    bCollide;         //!< If it should be considered for the collisiontest.
    76   bool                    bVisible;         //!< If it should be visible.
     81  bool                    bCollide;           //!< If it should be considered for the collisiontest.
     82  bool                    bVisible;           //!< If it should be visible.
     83
     84  OM_LIST                           objectListNumber;   //!< The ObjectList from ObjectManager this Entity is in.
     85  std::list<WorldEntity*>::iterator objectListIterator; //!< The iterator position of this Entity in the given list of the ObjectManager.
     86
    7787};
    7888
Note: See TracChangeset for help on using the changeset viewer.