mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
17 lines
321 B
C++
17 lines
321 B
C++
|
|
#include "actiontalk.hpp"
|
|
|
|
#include "environment.hpp"
|
|
|
|
#include "../mwdialogue/dialoguemanager.hpp"
|
|
|
|
namespace MWWorld
|
|
{
|
|
ActionTalk::ActionTalk (const Ptr& actor) : mActor (actor) {}
|
|
|
|
void ActionTalk::execute (Environment& environment)
|
|
{
|
|
environment.mDialogueManager->startDialogue (mActor);
|
|
}
|
|
}
|