28 #include <csutil/ref.h> 29 #include <csutil/hash.h> 39 struct iObjectRegistry;
78 csRef<iDocument> musicalSheet,
const char* instrName);
81 csHash<Instrument*, csString> instruments;
This class keeps and manage the musical instruments.
bool Initialize(iObjectRegistry *objectReg)
Reads the instruments definitions.
InstrumentManager()
Constructor.
bool PlaySong(SoundControl *sndCtrl, csVector3 pos, csVector3 dir, SoundHandle *&songHandle, csRef< iDocument > musicalSheet, const char *instrName)
Play the song in the given musical sheet with the given instruments.
~InstrumentManager()
Destructor.
A Volume and Sound control class.
This class represent a musical instrument.