Changeset 8894 in orxonox.OLD for trunk/src/world_entities/world_entity.h
- Timestamp:
- Jun 29, 2006, 12:19:48 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/world_entity.h
r8777 r8894 88 88 89 89 bool registerCollision(WorldEntity* entityA, WorldEntity* entityB, BoundingVolume* bvA, BoundingVolume* bvB); 90 bool registerCollision( WorldEntity* entity, WorldEntity* groundEntity, Vector normal, Vector position);90 bool registerCollision(int type, WorldEntity* entity, WorldEntity* groundEntity, Vector normal, Vector position, bool bInWall = false); 91 91 /** @return true if there is at least on collision reaction subscribed */ 92 92 inline bool isReactive() const { return this->bReactive; } … … 115 115 /** @returns a Reference to the Iterator */ 116 116 ObjectManager::EntityList::iterator& getEntityIterator() { return this->objectListIterator; } 117 118 void hide() { if( this->objectListNumber != OM_DEAD) this->lastObjectListNumber = this->objectListNumber; this->toList(OM_DEAD); } 119 void unhide() { this->toList(this->lastObjectListNumber); } 120 117 121 118 122 /* --- Character Attribute Block --- */ … … 176 180 OM_LIST objectListNumber; //!< The ObjectList from ObjectManager this Entity is in. 177 181 ObjectManager::EntityList::iterator objectListIterator; //!< The iterator position of this Entity in the given list of the ObjectManager. 182 OM_LIST lastObjectListNumber; //!< the last ObjectList from the ObjectManager this Entity was is in 178 183 179 184
Note: See TracChangeset
for help on using the changeset viewer.