Even after calling the function
[self addChild:[[Floor floorSprite] ccNode] z:20];
Only the physics shape gets added to screen. The sprite itself does not get added. Looking into the code I believe adding the CCSprite that is sub classed as a CCNode is failing.
Even after calling the function [self addChild:[[Floor floorSprite] ccNode] z:20];
Only the physics shape gets added to screen. The sprite itself does not get added. Looking into the code I believe adding the CCSprite that is sub classed as a CCNode is failing.