using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TransportGame.Model.Config
{
public class BuildingGeneratorConfig
{
///
/// Minimum lot size
///
public float LotSquareMinSize { get; set; }
///
/// Maximum lot size
///
public float LotSquareMaxSize { get; set; }
///
/// Space between lots
///
public float LotSpacing { get; set; }
///
/// Maximum number of attempts to generate a lot in a specific area
///
public int MaxLotAttempts { get; set; }
///
/// Maximum number of levels on a building
///
public int MaxBuildingLevels { get; set; }
///
/// Maximum height for a building
///
public float MaxLevelHeight { get; set; }
public float MinLevelHeight { get; set; }
///
/// Maximum number of primitive polygons to be generated per level
///
public int MaxPolygonsPerLevel { get; set; }
public BuildingGeneratorConfig()
{
LotSquareMinSize = 5f;
LotSquareMaxSize = 20f;
LotSpacing = 0.1f;
MaxLotAttempts = 3;
MaxLevelHeight = 20f;
MinLevelHeight = 5f;
MaxBuildingLevels = 7;
MaxPolygonsPerLevel = 2;
}
}
}