I'm trying to make a simple game where, when the player's tank changes direction (north, south, east, or west) the tank swaps the old child image for a new one. I found swapChild, which seems like it would do exactly what I want, but the display isn't updating accordingly. However, if I actually removeChild the old image, and addChild the new one, it works.
My code is here, if it helps: http://github.com/nathankoch/TankTank/blob/master/src/Classes/Tank.m (check out method newFacing - line 79)