How come I can use methods that return Amounts to style agents in the runtime wizards in Repast Simphony version 1.0?
In version 1.0, icon style wizards can only use methods that return a java.lang.Number. In version 1.1 we have added the ability to use Amounts for scaling that just returns a double value using the Amount’s units, assuming that the user accounts for different units (ie trying to scale an icon size by 25.seconds or 8.35.kilograms). The good news is that the stylers have access to all public methods in a class that return a java.lang.Number.