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