Ejemplo n.º 1
0
 ///<summary> per 1000 men. Be careful, its direct links </summary>
 public List <Storage> getLuxuryNeedsPer1000()
 {
     //List<Storage> result = new List<Storage>();
     //foreach (Storage next in luxuryNeeds)
     //    result.Add(next);
     //return result;
     return(luxuryNeeds.getContainer());
 }
Ejemplo n.º 2
0
        override public List <Storage> getRealAllNeeds()
        {
            StorageSet res = new StorageSet();

            foreach (var item in allArmies)
            {
                res.add(item.getNeeds());
            }
            return(res.getContainer());
        }