public bool IsOpen(ChunkDoorway other) { return !this.CanCreate(other.flag); }
public void Copy(ChunkDoorway other) { this.flag = other.flag; }
public bool Difference(ChunkDoorway other, GameDefine.DirectionType type) { return this.CanCreate(type) != other.CanCreate(type); }
public bool AnyMatch(ChunkDoorway other) { return (this.flag & other.flag) > 0; }