Hi folks,

could anyone please give me some insight, how GoodsType, AbstractGoods
and Lists of AbstractGoods play together ?

I guess, GoodsType describes the existing types of goods, while
AbstractGoods represents a storage slot (eg. in city or on a ship).

What puzzles me most: why are List<AbstractGoods> at all ?
AFAIK, the number of good types is strictly limited, so eg. in the
cities we could easily use an fixed-size array, thus never having to
iterate lists here.

Where are the producable goods on individual tiles coming from ?
Is this individual to each tile or derived from the terrain type ?
And how are the worker-type dependent values computed ? Is there some
per-worker-type factor ?


--mtx

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Freecol-developers mailing list
Freecol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to