2010-08-06 16:15:46 +00:00
|
|
|
|
|
|
|
#include "actiontalk.hpp"
|
|
|
|
|
|
|
|
#include "environment.hpp"
|
|
|
|
|
2010-08-06 17:25:26 +00:00
|
|
|
#include "../mwdialogue/dialoguemanager.hpp"
|
2010-08-06 16:15:46 +00:00
|
|
|
|
|
|
|
namespace MWWorld
|
|
|
|
{
|
|
|
|
ActionTalk::ActionTalk (const Ptr& actor) : mActor (actor) {}
|
|
|
|
|
|
|
|
void ActionTalk::execute (Environment& environment)
|
|
|
|
{
|
2010-08-06 17:25:26 +00:00
|
|
|
environment.mDialogueManager->startDialogue (mActor);
|
2010-08-06 16:15:46 +00:00
|
|
|
}
|
|
|
|
}
|