I am wanting to get the Image name of an Actor and assign it to a string.
I want to get the image of the actor, assign it to a string and then test the string for a condition.
I have 2 images, Fire.png and Ice.png
If the Actor's Image is Fire.png change to Ice.png (and vice versa).
I had this previously using to different classes, if it was the Fire Class, removeObject and add the Ice Class, This seems like a lot more code for Greenfoot to run so was wanting to do it this way as well.