Public Member Functions

CCNode(ControlledCCNodeProtocol) Class Reference

Methods added to the base CCNode to support structural node hierarchies containing controlled nodes. More...

#import <CCNodeController.h>

List of all members.

Public Member Functions

(void) - deviceOrientationDidChange:

Detailed Description

Methods added to the base CCNode to support structural node hierarchies containing controlled nodes.


Member Function Documentation

- (void) deviceOrientationDidChange: (ccDeviceOrientation)  newOrientation

Called automatically on the child node of a controlled node to propagate the notification of the change in device orientation.

By adding this to the base CCNode, it allows the parent controlled node to propagate to all its children without regard to type, and allows other controlled nodes to be buried in a structural node hierarchy. This base implementation simply propagates the notification to its children. Actual controlled node subclasses will override.

Since:
v1.1

The documentation for this class was generated from the following file: