PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Classes/CrossFadeDemo.h

http://github.com/kstenerud/ObjectAL-for-iPhone
C Header | 24 lines | 11 code | 3 blank | 10 comment | 0 complexity | 6a1d3c8a7524c6d629f2f82c38c219f7 MD5 | raw file
 1//
 2//  CrossFadeDemo.h
 3//  ObjectAL
 4//
 5//  Created by Karl Stenerud on 10-05-30.
 6//
 7
 8#import "cocos2d.h"
 9#import "ObjectAL.h"
10
11/**
12 * Demo of crossfading between two sources.
13 * Use the slider to crossfade.
14 */
15@interface CrossFadeDemo : CCColorLayer
16{
17	ALSource* firstSource;
18	ALSource* secondSource;
19	ALBuffer* firstBuffer;
20	ALBuffer* secondBuffer;
21	id<OALFunction,NSObject> fadeFunction;
22}
23
24@end