18 lines
245 B
C++
18 lines
245 B
C++
#pragma once
|
|
|
|
namespace Components
|
|
{
|
|
class Flags : public Component
|
|
{
|
|
public:
|
|
Flags() = default;
|
|
|
|
static bool HasFlag(const std::string& flag);
|
|
|
|
private:
|
|
static std::vector<std::string> EnabledFlags;
|
|
|
|
static void ParseFlags();
|
|
};
|
|
}
|