Everything else is correct, But the smiley face that keeps loading when I reset is the smile, I need it to be the frown.
My code is:
public void populateWorld()
{
for (int i =1; i<=7; i++)
addObject (new Face(), i*64,44;);
for (int i =1; i<=7; i++)
addObject (new Me(), i*70,536);
}
And when I play it. The Smile turn to a frown when the me finds it. But it should be turning from a frown to a smile.
So again, it works the way it is supposed to, but because it starts out in reverse. that is incorrect.
That code is:
public void lookForMe()
{
if (canSee(Me.class))
{
GreenfootImage tempImage;
tempImage = getImage();
if (tempImage == image1)
{
setImage(image2);
}
else
{
set Image (image1);
}
}
I have tried removing the images and removing the sub class and re-writing it, But it still populates with the smile.
I have tried to switch the public void looForMe() the 1s for the 2s and vise versa. but it still populates with the smile. I NEVER thought I would be so disappointed to see that many smiles in my life.
Any ideas as to how to switch this?
Thank You in advance
Anyone have any ideas?

