There is a way to check if I got a flag in a series of flag?
Example:
[Flags] Enum TestEnum { ALIVE, DEAD, ALMOSTDEAD, HURT, OTHERS } // check if
You can use Enum.HasFlag to check for this.
bool aTest2 = aTest.HasFlag(TestEnum.ALIVE);