Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     time = Time.time;
     ForestManager fM = new ForestManager();
        List<ITree> species= new List<ITree>();
     species.Add(tree);
     f = fM.createForest(map, species);
     for (int i = 0; i < 30; i++)
     {
         f.NextYear(10);
         Debug.Log(i.ToString());
     }
 }
Beispiel #2
0
    // Use this for initialization
    void Start()
    {
        time = Time.time;
        ForestManager fM      = new ForestManager();
        List <ITree>  species = new List <ITree>();

        species.Add(tree);
        f = fM.createForest(map, species);
        for (int i = 0; i < 30; i++)
        {
            f.NextYear(10);
            Debug.Log(i.ToString());
        }
    }