Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 21, 2018, 11:49:03 AM (5 years ago)
Author:
ottka
Message:

stop timer after round

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKartTile.cc

    r12090 r12111  
    104104        this->attachCollisionShape(cs_);
    105105    }
     106
     107    /**
     108    @brief
     109        Checks if the OrxoKartship collided with the flag
     110    */
     111    bool OrxoKartTile::collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint)
     112    {
     113        if(otherObject->isA(Class(OrxoKartKart))) {
     114            collided_ = true;
     115            kartCollider = (OrxoKartKart*) otherObject;
     116        }
     117
     118        return false;
     119    }
     120
     121
    106122}
Note: See TracChangeset for help on using the changeset viewer.