Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/audio/src/audio/Ambient.cc @ 338

Last change on this file since 338 was 338, checked in by nicolape, 16 years ago

Added AudioObject Class

File size: 239 bytes
Line 
1#include <iostream>
2#include <string>
3#include "Ambient.h"
4
5namespace audio
6{
7        Ambient::Ambient(std::string audioFile)
8        {
9                a = new AudioObject(audioFile);
10        }
11       
12        Ambient::~Ambient()
13        {       
14               
15        }
16       
17        void Ambient::play()
18        {
19                a->play();     
20        }
21}
22
Note: See TracBrowser for help on using the repository browser.