00001 #ifndef HEADER_PLANNEDDIALOG_H
00002 #define HEADER_PLANNEDDIALOG_H
00003
00004 class Dialog;
00005
00006 #include "NoCopy.h"
00007
00008 #include <string>
00009
00010
00011
00012
00013 class PlannedDialog : public NoCopy {
00014 private:
00015 int m_actor;
00016 const Dialog *m_dialog;
00017 int m_channel;
00018 int m_endtime;
00019 int m_minTime;
00020 private:
00021 bool isPlaying() const;
00022 public:
00023 PlannedDialog(int actor, const Dialog *dialog, int minTime);
00024
00025 void talk(int volume, int loops=0);
00026 void killTalk();
00027
00028 bool isTalking() const;
00029 bool equalsActor(int other) const;
00030 };
00031
00032 #endif
00033