 GPP | I noticed that in the Items Class, the objects were subclassed of LevelObjects, which included an @class declaring, among other classes, CCZSprite. A jump to definition reveals that CCZSprite is a subclass of CCSprite (makes sense) with a draw method which calls @implementation CCZSprite
-(void) draw
{
gEnable(GL_ALPHA_TEST);
gAlphaFunc(GL_GREATER, 0.0f);
[super draw];
glDisable(GL_ALPHA_TEST);
}
@end
Why did you create this subclass, Nat? |