Beispiel #1
0
 private void ToggleLeaf(LeafPosition position) => Leafs   ^= (int)position;
Beispiel #2
0
 private void SetLeafAlive(LeafPosition position) => Leafs |= (int)position;
Beispiel #3
0
 private void SetLeafDead(LeafPosition position) => Leafs  &= ~(int)position;
Beispiel #4
0
 private bool IsLeafPopulated(LeafPosition position) => (Leafs & (int)position) > 0;