cocos2d-iphone  1.0.1
Improved Cocos2D API Reference (iOS version) for Kobold2D developers
CCDirectorDisplayLink Interface Reference

#include <CCDirectorIOS.h>

+ Inheritance diagram for CCDirectorDisplayLink:
+ Collaboration diagram for CCDirectorDisplayLink:

List of all members.

Public Member Functions

void mainLoop: (id sender)

Protected Attributes

id displayLink

Detailed Description

DisplayLinkDirector is a Director that synchronizes timers with the refresh rate of the display.

Features and Limitations:

  • Only available on 3.1+
  • Scheduled timers & drawing are synchronizes with the refresh rate of the display
  • Only supports animation intervals of 1/60 1/30 & 1/15

It is the recommended Director if the SDK is 3.1 or newer

Since:
v0.8.2

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