//Spawns decorated tiles on the floor private void SpawnTileDecorations() { float decorationChance = Random.Range(0f, 1f); int decorationChoice; if (decorationChance <= roomTypeController.getCarpetChance()) { decorationChoice = Random.Range(0, roomTypeController.getCarpetCount()); tileGenerator.DrawCarpet(xCentre, zCentre, width, height, roomTypeController.getCarpetTiles(decorationChoice)); } else if (decorationChance < roomTypeController.getBorderChance()) { decorationChoice = Random.Range(0, roomTypeController.getBorderCount()); tileGenerator.DrawBorder(xCentre, zCentre, width, height, roomTypeController.getBorderTiles(decorationChoice)); } }