/Classes/SingleSourceDemo.h
http://github.com/kstenerud/ObjectAL-for-iPhone · C Header · 24 lines · 10 code · 3 blank · 11 comment · 0 complexity · b61c15d00f3a965292b80d5cb03904be MD5 · raw file
- //
- // SingleSourceDemo.h
- // ObjectAL
- //
- // Created by Karl Stenerud on 10-05-29.
- //
- #import "cocos2d.h"
- #import "ObjectAL.h"
- /**
- * Demo of a single sound source.
- * The planet emits sound, and the space ship is the listener.
- * Touch the screen to move the space ship.
- */
- @interface SingleSourceDemo : CCLayer
- {
- CCSprite* rocketShip;
- CCSprite* planet;
- ALSource* source;
- ALBuffer* buffer;
- }
- @end