init
This commit is contained in:
27
public/engine.h
Normal file
27
public/engine.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef ENGINE_H
|
||||
#define ENGINE_H
|
||||
|
||||
#include "tier0/platform.h"
|
||||
|
||||
class CBaseEntity;
|
||||
|
||||
interface IEngine
|
||||
{
|
||||
public:
|
||||
static void Init();
|
||||
static void Frame(float fDelta);
|
||||
static void Shutdown();
|
||||
};
|
||||
|
||||
|
||||
interface IIEngine
|
||||
{
|
||||
public:
|
||||
static void PrecacheModel( const char *psz );
|
||||
static void PrecacheSound( const char *psz );
|
||||
|
||||
static CBaseEntity *SpawnEntity( const char *szName );
|
||||
static void DestroyEntity( CBaseEntity *pEntity );
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user