Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 2, 2015, 11:03:31 PM (9 years ago)
Author:
fvultier
Message:

Improved documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/towerdefenseFabien/src/modules/weapons/projectiles/IceGunProjectile.cc

    r10606 r10608  
    7676
    7777    bool IceGunProjectile::collidesAgainst(WorldEntity* otherObject, const btCollisionShape* cs, btManifoldPoint& contactPoint)
    78     {
     78    {       
    7979        bool bCollision = Projectile::collidesAgainst(otherObject, cs, contactPoint);
    8080
    8181        if (bCollision)
    8282        {
     83            // If there was a collision, attach a IceGunFreezer to the hit object.
    8384            IceGunFreezer* freezer = new IceGunFreezer(this->getContext());
    8485            freezer->setFreezeTime(freezeTime_);
     
    8990            freezer->setPosition(Vector3(0,0,0));
    9091            freezer->translate(offset, WorldEntity::World);
     92            // Start the freezing effect.
    9193            freezer->startFreezing();
    9294        }
Note: See TracChangeset for help on using the changeset viewer.