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