source:
code/branches/FICN/src/audio/_Ambient.cc
@
401
| Last change on this file since 401 was 389, checked in by nicolasc, 18 years ago | |
|---|---|
| File size: 239 bytes | |
| Line | |
|---|---|
| 1 | #include <iostream> |
| 2 | #include <string> |
| 3 | #include "Ambient.h" |
| 4 | |
| 5 | namespace 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.










