Exemple #1
0
 public void addOres()
 {
     // one ore per 20 by 20
     for (int i = 0; i != ((dim_ * dim_) / 300); ++i)
     {
         Resource.AddOre(this, new IntVec2(Random.Range(0, dim_), Random.Range(0, dim_)));
     }
 }