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

KX_SoundActuator Class Reference

KX_SoundActuator.h. More...

#include <KX_SoundActuator.h>

Inheritance diagram for KX_SoundActuator:

SCA_IActuator SCA_ILogicBrick CValue PyObjectPlus PyObject List of all members.

Public Types

enum  KX_SOUNDACT_TYPE {
  KX_SOUNDACT_NODEF = 0, KX_SOUNDACT_PLAYSTOP, KX_SOUNDACT_PLAYEND, KX_SOUNDACT_LOOPSTOP,
  KX_SOUNDACT_LOOPEND, KX_SOUNDACT_NEWSOUND, KX_SOUNDACT_LOWERPITCH, KX_SOUNDACT_RAISEPITCH,
  KX_SOUNDACT_MAX
}

Public Methods

 KX_SoundActuator (SCA_IObject* gameobj, SND_SoundObject* sndobj, KX_SOUNDACT_TYPE type, short start, short end, PyTypeObject* T=&Type)
 KX_SoundActuator.cpp. More...

virtual ~KX_SoundActuator ()
virtual void setSoundObject (SND_SoundObject* soundobject)
virtual bool Update (double curtime,double deltatime)
virtual CValueGetReplica ()
virtual PyObject_getattr (char *attr)
 KX_PYMETHOD (KX_SoundActuator,SetFilename)
 KX_PYMETHOD (KX_SoundActuator,GetFilename)

Public Attributes

KX_SOUNDACT_TYPE m_type

Detailed Description

KX_SoundActuator.h.

Version:

Id:
KX_SoundActuator.h,v 1.12 2001/01/31 16:58:30 janco Exp

Definition at line 13 of file KX_SoundActuator.h.


Member Enumeration Documentation

enum KX_SoundActuator::KX_SOUNDACT_TYPE
 

Enumeration values:
KX_SOUNDACT_NODEF  
KX_SOUNDACT_PLAYSTOP  
KX_SOUNDACT_PLAYEND  
KX_SOUNDACT_LOOPSTOP  
KX_SOUNDACT_LOOPEND  
KX_SOUNDACT_NEWSOUND  
KX_SOUNDACT_LOWERPITCH  
KX_SOUNDACT_RAISEPITCH  
KX_SOUNDACT_MAX  

Definition at line 23 of file KX_SoundActuator.h.


Constructor & Destructor Documentation

KX_SoundActuator::KX_SoundActuator ( SCA_IObject * gameobj,
SND_SoundObject * sndobj,
KX_SOUNDACT_TYPE type,
short start,
short end,
PyTypeObject * T = &Type )
 

KX_SoundActuator.cpp.

Version:

Id:
KX_SoundActuator.cpp,v 1.16 2001/01/31 16:58:30 janco Exp

Definition at line 17 of file KX_SoundActuator.cpp.

Referenced by GetReplica().

KX_SoundActuator::~KX_SoundActuator ( ) [virtual]
 

Definition at line 32 of file KX_SoundActuator.cpp.


Member Function Documentation

CValue * KX_SoundActuator::GetReplica ( ) [inline, virtual]
 

Reimplemented from CValue.

Definition at line 50 of file KX_SoundActuator.h.

KX_SoundActuator::KX_PYMETHOD ( KX_SoundActuator,
GetFilename )
 

KX_SoundActuator::KX_PYMETHOD ( KX_SoundActuator,
SetFilename )
 

bool KX_SoundActuator::Update ( double curtime,
double deltatime ) [virtual]
 

Reimplemented from SCA_IActuator.

Definition at line 37 of file KX_SoundActuator.cpp.

PyObject * KX_SoundActuator::_getattr ( char * attr ) [virtual]
 

Reimplemented from SCA_ILogicBrick.

Definition at line 150 of file KX_SoundActuator.cpp.

void KX_SoundActuator::setSoundObject ( SND_SoundObject * soundobject ) [inline, virtual]
 

Definition at line 46 of file KX_SoundActuator.h.


Member Data Documentation

KX_SOUNDACT_TYPE KX_SoundActuator::m_type
 

Definition at line 36 of file KX_SoundActuator.h.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:45 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000