Our instructor had us copy and paste new code into the Ants 3 scenario for the food class.
when I try to compile this section of code is giving me troubles.
// If there are no crumbs left in this object ...
/ removeObject(this); // Why doesn’t this remove the Food object??
// otherwise....
// update image
where it says removeObject(this);
I get the error message invalid method declaration; return type required what am I doing wrong?