Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7692 in orxonox.OLD for branches/water/src/util/object_manager.h


Ignore:
Timestamp:
May 18, 2006, 3:51:16 PM (18 years ago)
Author:
patrick
Message:

water: added the reflection list to the object list. temporary. bensch will decide if this stays here…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/water/src/util/object_manager.h

    r7686 r7692  
    1919  OM_ENVIRON,
    2020  OM_COMMON,
    21 
    22   OM_REFLECTION,                            //!< list of all object that need to be drawn in the reflection image
    2321
    2422  OM_GROUP_00,
     
    9694  static const char* OMListToString(OM_LIST omList);
    9795
     96
     97  void toReflectionList( WorldEntity* entity) { this->reflectionList.push_back(entity); }
     98  /** @returns the list of all reflected objects in the world */
     99  EntityList& getReflectionList() { return this->reflectionList; }
     100  /** @returns the static list of all reflected objects in the world */
     101  const EntityList& getReflectionList() const { return this->reflectionList; }
     102
     103
     104
     105
    98106private:
    99107  const std::list<BaseObject>*            pNodeList;                //!< The List of PNodes.
     
    102110
    103111  static const char*                      objectManagerListNames[]; //!< Names of all the lists
     112
     113  EntityList                              reflectionList;           //!< A list of all reflected objects in the world
    104114};
    105115
Note: See TracChangeset for help on using the changeset viewer.