mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-18 22:41:58 +00:00
1
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
//=============================================================================
|
||||
|
||||
#ifndef IHASOWNER_H
|
||||
#define IHASOWNER_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
class CBaseEntity;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Allows an entity to access its owner regardless of entity type
|
||||
//-----------------------------------------------------------------------------
|
||||
class IHasOwner
|
||||
{
|
||||
public:
|
||||
virtual CBaseEntity *GetOwnerViaInterface( void ) = 0;
|
||||
};
|
||||
|
||||
#endif // IHASOWNER_H
|
||||
Reference in New Issue
Block a user