// Write 3D walls
int i = 0;
for (Wall wall : home.getWalls()) {
// Create a not alive new wall to be able to explore its coordinates without setting capabilities
Wall3D wallNode = new Wall3D(wall, home, true, true);
writer.writeNode(wallNode, "wall_" + ++i);
}
// Write 3D furniture
i = 0;
for (HomePieceOfFurniture piece : home.getFurniture()) {