// Add a roof if a wall is clicked on // If a wall wasn't clicked on return false public boolean addRoof(float x, float y) { WallModel wall = isOnWall(x, y); if (wall != null) { currentRoof = new RoofModel(wall); tempRoof = currentRoof.clone(1); roofs.add(currentRoof); return true; } return false; }