I'm trying to create a game where there are hungry elephants walking towards a stick man. The stick man's job is to shot peanuts at the elephants and feed them so that he doesn't get trampled. How can I do this so that when the elephant is hit by the peanut it switches to the second image?
