public void Set(E_CoverFlags index, bool on) { if (on) { Flags |= 1 << (int)index; } else { Flags &= ~(1 << (int)index); } }
public bool Get(E_CoverFlags index) { return((Flags & (1 << (int)index)) != 0); }