Hi all,
Playing around more with rrobots.
Method tick in class GoofeyBot is called by module Robot (which is
"included" at the beginning of all 4 of my classes).
Robot provides (among many other things) an object called
radar_heading. I can print the return value of the object just fine
on line 112 (class GoofeyBot) but not at line 69 (class Radar)
(radar_heading returns null here and the next line, 70, generates:
NoMethodError: undefined method `+' for nil:NilClass
./GoofeyDuck.rb:70:in `target?'
Here's my code:
http://rafb.net/paste/results/RtkFqy50.html
Thanks for any and all help.
Greg