Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 14, 2006, 1:25:47 AM (18 years ago)
Author:
patrick
Message:

new interface to collision registers, more transparent. some more functionality

File:
1 edited

Legend:

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

    r9890 r9892  
    7878
    7979  /* --- Collision Reaction Block --- */
    80   void subscribeReaction(CoRe::CREngine::CRType type);
    81   void subscribeReaction(CoRe::CREngine::CRType type, const ClassID& target1);
    82   void subscribeReaction(CoRe::CREngine::CRType type, const ClassID& target1, const ClassID& target2);
    83   void subscribeReaction(CoRe::CREngine::CRType type, const ClassID& target1, const ClassID& target2, const ClassID& target3);
    84 
    85   void unsubscribeReaction(CoRe::CREngine::CRType type);
     80  void subscribeReaction(CoRe::CREngine::ReactionType type);
     81  void subscribeReaction(CoRe::CREngine::ReactionType type, const ClassID& target1);
     82  void subscribeReaction(CoRe::CREngine::ReactionType type, const ClassID& target1, const ClassID& target2);
     83  void subscribeReaction(CoRe::CREngine::ReactionType type, const ClassID& target1, const ClassID& target2, const ClassID& target3);
     84
     85  void unsubscribeReaction(CoRe::CREngine::ReactionType type);
    8686  void unsubscribeReaction();
    8787
     
    9191  inline bool isReactive() const { return this->bReactive; }
    9292
    93   CoRe::CollisionHandle* getCollisionHandle(CoRe::CREngine::CRType type) const { return this->collisionHandles[type]; }
     93  CoRe::CollisionHandle* getCollisionHandle(CoRe::CREngine::ReactionType type) const { return this->collisionHandles[type]; }
    9494
    9595  /** @returns true if this entity is standing on ground (BSP model) */
Note: See TracChangeset for help on using the changeset viewer.