Example #1
0
        public Society(Map map, Location location) : base(map)
        {
            setName("DEFAULT_SOC_NAME");
            sovereign = new Title_Sovereign(this);
            titles.Add(sovereign);
            econEffects = new List <EconEffect>();

            if (map.simplified)
            {
                socType = new SocType_Monarchy();
            }

            for (int i = 0; i < 3; i++)
            {
                House house = new House();
                house.name       = TextStore.getName(false);
                house.background = Eleven.random.Next(World.self.textureStore.layerBack.Count);
                house.culture    = map.sampleCulture(location);
                houses.Add(house);
            }
        }