Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2006, 4:13:57 PM (17 years ago)
Author:
patrick
Message:

freeing collision reaction engine from unused functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/coll_rect/src/lib/collision_reaction/cr_engine.cc

    r9895 r9984  
    134134
    135135
    136   /**
    137    * subscribes a WorldEntity for a CollisionReaction
    138    *  @param owner: the WE to subscribe
    139    *  @param type: the type of collision reaction to perform
    140    *  @return the newly created CollisionHandle
    141    */
    142 //   CollisionHandle* CREngine::subscribeReaction(WorldEntity* owner, ReactionType type)
    143 //   {
    144 //     CollisionHandle* ch = new CollisionHandle(owner, type);
    145 //     this->collisionHandles.push_back(ch);
    146 //
    147 //     return ch;
    148 //   }
    149136
    150 
    151   /**
    152    * unsubscribe reaction from the reaction list
    153    *  @param collisionHandle the CollisionHandle to remove
    154    *  @param returns true if worked collrectly
    155    */
    156 //   bool CREngine::unsubscribeReaction(CollisionHandle* collisionHandle)
    157 //   {
    158 //     std::vector<CollisionHandle*>::iterator it;
    159 //     for( it = this->collisionHandles.begin(); it != this->collisionHandles.end(); it++)
    160 //     {
    161 //       if( *it == collisionHandle)
    162 //       {
    163 //         this->collisionHandles.erase(it);
    164 //         delete collisionHandle;
    165 //         return true;
    166 //       }
    167 //     }
    168 //     return false;
    169 //   }
    170137
    171138
Note: See TracChangeset for help on using the changeset viewer.