private void findAndUpdateNeightbor(Vector3 v) { BuildingWall wall = BuildingWall.getWall(this.getOrgin(), v); if (wall != null) { wall.updateSelfWalls(); } }
public void updateState() { if (BuildingWall.getWall(this.parentWall.getOrgin(), this.vector) != null) { this.add(); } else { this.remove(); } }