I have a CCSprite and i have set the DisplayFrame to a CCspriteFrame...
but now i want to call a function that returns the texture to a string.
So that i can compare my texture for instance:
CCString string = CCString::Create(AND THEN THE TEXTURE NAME)
if(string == and then the name of the png i want to compare with)
CCString color = "red";
But how can i do that!
And if there is a smarter method Then PLZPLZ tell:)
PLZPLZPLZPLZPLZPLZPLZPLZPLZPZLPZLPZLZPlz HELP ME, U CAN SAVE MY LIFE!:)