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