Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CTraceFilterSimple : public CTraceFilter
- {
- public:
- // It does have a base, but we'll never network anything below here..
- DECLARE_CLASS_NOBASE( CTraceFilterSimple );
- CTraceFilterSimple( const IHandleEntity *passentity, int collisionGroup );
- virtual bool ShouldHitEntity( IHandleEntity *pHandleEntity, int contentsMask );
- virtual void SetPassEntity( const IHandleEntity *pPassEntity ) { m_pPassEnt = pPassEntity; }
- virtual void SetCollisionGroup( int iCollisionGroup ) { m_collisionGroup = iCollisionGroup; }
- const IHandleEntity *GetPassEntity( void ){ return m_pPassEnt;}
- private:
- const IHandleEntity *m_pPassEnt;
- int m_collisionGroup;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement