// 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>(); }
public void addColonyScript(colonyScript creatingScript) { colonyLink = creatingScript; }