Layer Class Reference

#import <Layer.h>

Inherits CocosNode, and TouchEventsDelegate-p.

Inherited by ColorLayer, Menu, and MultiplexLayer.

Collaboration diagram for Layer:

Collaboration graph
[legend]

List of all members.

Properties

BOOL isTouchEnabled
 whether or not it will receive Touch events
BOOL isAccelerometerEnabled
 whether or not it will receive Accelerometer events


Detailed Description

Layer is a subclass of CocosNode that implements the TouchEventsDelegate protocol.

All features from CocosNode are valid, plus the following new features:


Property Documentation

- (BOOL) isAccelerometerEnabled [read, write, assign]

whether or not it will receive Accelerometer events

- (BOOL) isTouchEnabled [read, write, assign]

whether or not it will receive Touch events


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

Generated on Tue Jun 9 10:39:38 2009 for cocos2d for iPhone 0.7.3 by  doxygen 1.5.8