示例#1
0
        private void findAndUpdateNeightbor(Vector3 v)
        {
            BuildingWall wall = BuildingWall.getWall(this.getOrgin(), v);

            if (wall != null)
            {
                wall.updateSelfWalls();
            }
        }
示例#2
0
 public void updateState()
 {
     if (BuildingWall.getWall(this.parentWall.getOrgin(), this.vector) != null)
     {
         this.add();
     }
     else
     {
         this.remove();
     }
 }