openmw-tes3coop/apps/openmw/mwworld/actiontalk.cpp

16 lines
363 B
C++

#include "actiontalk.hpp"
#include "../mwbase/environment.hpp"
#include "../mwgui/window_manager.hpp"
#include "../mwdialogue/dialoguemanager.hpp"
namespace MWWorld
{
ActionTalk::ActionTalk (const Ptr& actor) : mActor (actor) {}
void ActionTalk::execute()
{
MWBase::Environment::get().getDialogueManager()->startDialogue (mActor);
}
}