/************************************************************** * Name: Richard Sean Hsieh (rhsieh) * File: Sound.H * Asgn: 3-sims * Date: Wed Mar 12 02:03:04 EST 2003 **************************************************************/ #ifndef Sound_Header #define Sound_Header #include class Sound { public: Sound(); virtual ~Sound(); // Speaking of "sound", here's the interface for the Logic to call on // Sound: virtual void playMusic(std::string musicFile); // continuous background music virtual void playSound(std::string soundFile); // brief sound effects for logic-initiated events // And here's the interface for the GUI to call on Sound: virtual void stop(); // stops audio output virtual void resume(); // resumes audio output virtual void playSound(int soundtype); // brief sound effects for user-initiated events . or enumed sounds. protected: private: }; #endif