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