Exemple #1
0
    private void Start()
    {
        segFactory       = GetComponent <SegmentFactory>();
        globalGoals      = GetComponent <GlobalGoals>();
        localConstraints = GetComponent <LocalConstraints>();
        map           = GetComponent <RoadMap>();
        lotsGenerator = GetComponent <LotsGenerator>();

        seed = 8;
        //seed = Random.Range(0, 65536);
        Generate(seed);
    }
 public RoadMapGenerator()
 {
     globalGoals      = new GlobalGoals();
     localConstraints = new LocalConstraints();
     roadGenerator    = new RoadGenerator();
 }