Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     //make resource administator
     gameObject.transform.localScale = new Vector2(GV.MAP_DIAMETER, GV.MAP_DIAMETER);
     createRocks((int)Random.Range(GV.NUM_OF_ROCKS.x, GV.NUM_OF_ROCKS.y));
     colony   = gameObject.AddComponent <colonyScript> ();
     resAdmin = gameObject.AddComponent <resourceAdminitrator>();
 }
Ejemplo n.º 2
0
 public void addColonyScript(colonyScript creatingScript)
 {
     colonyLink = creatingScript;
 }