You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
887 B
32 lines
887 B
//========= Copyright Valve Corporation, All rights reserved. ============// |
|
// |
|
//=======================================================================================// |
|
|
|
#ifndef ITHINKMANAGER_H |
|
#define ITHINKMANAGER_H |
|
#ifdef _WIN32 |
|
#pragma once |
|
#endif |
|
|
|
//---------------------------------------------------------------------------------------- |
|
|
|
#include "interface.h" |
|
|
|
//---------------------------------------------------------------------------------------- |
|
|
|
class IThinker; |
|
|
|
//---------------------------------------------------------------------------------------- |
|
|
|
class IThinkManager : public IBaseInterface |
|
{ |
|
public: |
|
virtual void AddThinker( IThinker *pThinker ) = 0; |
|
virtual void RemoveThinker( IThinker *pThinker ) = 0; |
|
|
|
virtual void Think() = 0; |
|
}; |
|
|
|
//---------------------------------------------------------------------------------------- |
|
|
|
#endif // ITHINKMANAGER_H
|
|
|