/Classes/SingleSourceDemo.h
C Header | 24 lines | 10 code | 3 blank | 11 comment | 0 complexity | b61c15d00f3a965292b80d5cb03904be MD5 | raw file
Possible License(s): Apache-2.0
1// 2// SingleSourceDemo.h 3// ObjectAL 4// 5// Created by Karl Stenerud on 10-05-29. 6// 7 8#import "cocos2d.h" 9#import "ObjectAL.h" 10 11/** 12 * Demo of a single sound source. 13 * The planet emits sound, and the space ship is the listener. 14 * Touch the screen to move the space ship. 15 */ 16@interface SingleSourceDemo : CCLayer 17{ 18 CCSprite* rocketShip; 19 CCSprite* planet; 20 ALSource* source; 21 ALBuffer* buffer; 22} 23 24@end