Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SND_ISoundObject.h

Go to the documentation of this file.
00001 /*
00002  * SND_ISoundObject.h

00003  *
00004  * Another abstract sound object

00005  *
00006  * Version: $Id: SND_ISoundObject_h-source.html,v 1.1 2001/02/01 12:25:17 coockie Exp $

00007  */
00008 
00009 #ifndef __SND_ISOUNDOBJECT_H
00010 #define __SND_ISOUNDOBJECT_H
00011 
00012 #include "SND_IObject.h"
00016 
00017 class SND_ISoundObject : public SND_IObject
00018 {
00019 public:
00020         SND_ISoundObject() {};
00021         virtual ~SND_ISoundObject() {};
00022 
00023         virtual void startSound()=0;
00024         virtual void stopSound()=0;
00025         virtual void pauseSound()=0;
00026 
00027         virtual void setModified(bool mod)=0;
00028         virtual void setGain(MT_Scalar gain)=0; // = volume
00029         virtual void setPitch(MT_Scalar pitch)=0;
00030         virtual void setPosition (const MT_Point3& pos)=0;
00031         virtual void setVelocity(const MT_Vector3& vel)=0;
00032         virtual void setOrientation(const MT_Matrix3x3& orient)=0;
00033 
00039         virtual bool isModified() const = 0;
00040 };
00041 #endif //__SND_ISOUNDOBJECT_H

Generated at Thu Feb 1 13:03:12 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000