Stores data on registered goods. Should not be instantiated directly; instead, use
model.addGood(). The properties of the
Good object correspond to the arguments of that function.
color — Color
Colorobject storing the color used to plot the good. This can be passed instead of a hex value in most places that take a color as an argument.
color2 — Color
A lighter color used for secondary plotting.
endowment — num|func
If a number, the amount of the good agents begin with. If a function, takes the breed as an argument and returns the amount given to agents initially.
money — bool
Whether the good is being used as a numeraire or not. At most one good in any model should have this property set to
True, the good corresponding to