mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
34 lines
554 B
C++
34 lines
554 B
C++
#ifndef GAME_MMDIALOG_DIALOGUEMANAGER_H
|
|
#define GAME_MWDIALOG_DIALOGUEMANAGER_H
|
|
|
|
#include "../mwworld/ptr.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
struct DialInfo;
|
|
}
|
|
|
|
namespace MWWorld
|
|
{
|
|
class Environment;
|
|
}
|
|
|
|
namespace MWDialogue
|
|
{
|
|
class DialogueManager
|
|
{
|
|
MWWorld::Environment& mEnvironment;
|
|
|
|
bool isMatching (const MWWorld::Ptr& actor, const ESM::DialInfo& info) const;
|
|
|
|
public:
|
|
|
|
DialogueManager (MWWorld::Environment& environment);
|
|
|
|
void startDialogue (const MWWorld::Ptr& actor);
|
|
|
|
};
|
|
}
|
|
|
|
#endif
|