Hi folks, I've seen that modifiers are sometimes collected in lists, sometimes in sets. Is there a special reason behind that ?
Are there cases where duplicate modifiers need to be filtered out, or could we just use lists anywhere ? (eg. Unit::getMissionaryTradeModifiers()) Also, I'm wondering, why sometimes lists are sorted, while in other cases they are not. Isn't the sorting always required for applying (so additions and multiplications remain in the correct order) I'm also thinking about compound modifiers - for example Building's poduction modifiers are union of several lists (building, colony, etc, etc). That could be an own modifer type that calculates from the individual lists. What do you think about that ? --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 [email protected] https://lists.sourceforge.net/lists/listinfo/freecol-developers
