Exemplo n.º 1
0
        public override void setWorks(Nation nation)
        {
            this.territory.works = new List <Works>();
            Works newWorks = new Works();

            newWorks.onCreating += nation.addNewInhabitant;
            this.territory.works.Add(newWorks);
        }
Exemplo n.º 2
0
        public override void buildWorks(Nation nation)
        {
            this.getWood(nation.territory, 10);
            Works newWorks = new Works();

            newWorks.onCreating += nation.addNewInhabitant;
            nation.territory.works.Add(newWorks);
        }