iw4x-client/iw4/Components/Singleton.hpp

15 lines
215 B
C++
Raw Normal View History

2015-12-27 14:05:43 -05:00
namespace Components
{
class Singleton : public Component
{
public:
Singleton();
const char* GetName() { return "Singleton"; };
static bool IsFirstInstance();
private:
static bool FirstInstance;
};
}