nkremerh / sugarscape

Development repository for the Digital Terraria Lab implementation of the Sugarscape agent-based societal simulation.
https://github.com/digital-terraria-lab/sugarscape
MIT License
7 stars 11 forks source link

Removes agent.wealth variable #99

Closed colinhanrahan closed 2 months ago

colinhanrahan commented 2 months ago

For posterity, this is being removed because it is not correctly updated whenever an agent's sugar or spice is changed, and changing it every time would be more trouble than it's worth.

Also removed unused function findAgentWealthAtCell.