mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-03 16:13:22 +08:00
21 lines
557 B
C++
21 lines
557 B
C++
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//
|
|
//=============================================================================//
|
|
|
|
// A set of collision rules
|
|
// NOTE: Defaults to all indices disabled
|
|
class IPhysicsCollisionSet
|
|
{
|
|
public:
|
|
~IPhysicsCollisionSet() {}
|
|
|
|
virtual void EnableCollisions( int index0, int index1 ) = 0;
|
|
virtual void DisableCollisions( int index0, int index1 ) = 0;
|
|
|
|
virtual bool ShouldCollide( int index0, int index1 ) = 0;
|
|
};
|