Inherits from CCLayer : CCNode : NSObject
Declared in PinballTable.h
PinballTable.mm

Tasks

Other Methods

  • + node

    allocates and initializes a node. The node will be created as “autorelease”.

Other Methods

Class Methods

node

allocates and initializes a node. The node will be created as “autorelease”.

+ (id)node

Declared In

CCNode.h

Instance Methods

dealloc

draw

Override this method to draw your own node. You should use cocos2d’s GL API to enable/disable the GL state / shaders. For further info, please see ccGLstate.h. You shall NOT call [super draw];

- (void)draw

Declared In

CCNode.h

enableBox2dDebugDrawing

init

initializes the node

- (id)init

Declared In

CCNode.h

initBox2dWorld

update: