Exemplo n.º 1
0
    void Awake()
    {
        self = this;
        foreach (GameObject g in creaturlist)
        {
            Creatures.Add(g.name, g);
            g.SetActive(false);
        }

        foreach (Idlespace s in environlist)
        {
            Environments.Add(s.name, s);
            foreach (Populator p in s.gameObject.GetComponents <Populator>())
            {
                Nursery[p.creature] = p;
            }
        }
    }
Exemplo n.º 2
0
 public WorkerAnt(Point location, Vector speed, MotherNature world) : base(location, speed, world)
 {
 }
Exemplo n.º 3
0
 public BasicAnt(Point location, Vector speed, MotherNature world)
 {
     Location = location;
     Speed    = speed;
     MyWorld  = world;
 }