Benny Lichtner
Benny Lichtner
> Another reason why getters/setters might be nice--if you set an agent's > x/y coord without using setXY(), patches don't update their agentsHere property. > > > But don't you...
Thanks, Owen! It's nice to have this summary of your research. For x,y, would it be so terrible to duplicate the update logic? Right now `Agent.setXY()` includes the following to...
Cody, are you referring to this question? > Would it be bad news bears to put that in the setter for x, as well as in the setter for y?...
I'm now less interested in using a getter/setter for x and y. Since the setting needs to happen with both coords simultaneously anyway, I don't see any disadvantage to sticking...
> I think this is the result you'd expect. The data is all 0 (black) except for the 10,10 point that would be blue, if I recall correctly Err--I think...
Cool! This might help us think about sensical defaults and what we want to modularize, too.
I think float access is key, especially since turtles and your mouse have float coords, no?
Have you tried taking a stab at this? I think the cake file currently assumes you have docco and coffeescript installed globally via npm (and shelljs installed into node_modules/).
> This brings up a good workflow question: How should I manage all the > workflow tools? I could have a Cake task that installs the dependencies > locally, or...
Not sure about this either. Here's a way to get sublime to highlight inline coffeescript properly though: https://www.sublimetext.com/forum/viewtopic.php?f=2&t=5800#p37751. On Thu, Feb 13, 2014 at 2:41 PM, Martín Candela Calabuig <...