This commit is contained in:
Charles 2001-06-07 20:06:31 +00:00
parent 257e6f35c4
commit fa875178a9
2 changed files with 17 additions and 0 deletions

View File

@ -68,5 +68,20 @@ void CGaryBowlTrigger::collidedWith(CThing *_thisThing)
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
const CRECT *CGaryBowlTrigger::getThinkBBox()
{
CRECT objThinkBox = getCollisionArea();
sBBox &thinkBBox = CThingManager::getThinkBBox();
objThinkBox.x1 = thinkBBox.XMin;
objThinkBox.x2 = thinkBBox.XMax;
objThinkBox.y1 = thinkBBox.YMin;
objThinkBox.y2 = thinkBBox.YMax;
return &objThinkBox;
}
/*===========================================================================
end */

View File

@ -36,6 +36,8 @@
class CGaryBowlTrigger : public CTrigger
{
public:
virtual CRECT const *getThinkBBox();
protected:
virtual void collidedWith(CThing *_thisThing);
};