Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 29, 2006, 5:32:42 PM (18 years ago)
Author:
patrick
Message:

cr: collision reactance introduced

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cr/src/world_entities/world_entity.h

    r7946 r7958  
    7373  void unsubscribeReaction(CREngine::CRType type);
    7474  void unsubscribeReaction();
     75
    7576  bool registerCollision(WorldEntity* entityA, WorldEntity* entityB, BoundingVolume* bvA, BoundingVolume* bvB);
     77  /** @return true if there is at least on collision reaction subscribed */
     78  inline bool isReactive() const { return this->bReactive; }
    7679
    7780
     
    140143  float                   scaling;                                //!< the scaling of the model
    141144  CollisionHandle*        collisionHandles[CREngine::CR_NUMBER];  //!< the list of the collision reactions
     145  bool                    bReactive;                              //!< true if there is at least one collision reaction subscibed
    142146
    143147
Note: See TracChangeset for help on using the changeset viewer.