2017-01-20 08:36:52 -05:00
|
|
|
#pragma once
|
|
|
|
|
2017-01-19 16:23:59 -05:00
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class Flags : public Component
|
|
|
|
{
|
|
|
|
public:
|
2022-03-15 20:44:59 -04:00
|
|
|
Flags() = default;
|
2017-01-19 16:23:59 -05:00
|
|
|
|
2018-12-17 08:29:18 -05:00
|
|
|
static bool HasFlag(const std::string& flag);
|
2017-01-19 16:23:59 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
static std::vector<std::string> EnabledFlags;
|
|
|
|
|
|
|
|
static void ParseFlags();
|
|
|
|
};
|
|
|
|
}
|