In the CocosBuilder tutorial on the Zynga website, the Level.m file has a line
if (gameObject != dragon)
how does this condition work?
it is assigned here:
GameObject* gameObject = (GameObject*)child;
when I did this NSLog on gameObject
NSLog(@"game object: %@",gameObject);
it returned:
--> 2012-12-13 09:50:38.664 CocosDragon[27650:c07] game object: <Dragon = 0x84c63d0 | Tag = -1>
How did dragon come out of that?
Thanks!