2010-08-06 16:15:46 +00:00
|
|
|
|
|
|
|
#include "actiontalk.hpp"
|
|
|
|
|
2012-04-23 13:27:03 +00:00
|
|
|
#include "../mwbase/environment.hpp"
|
2012-05-25 16:45:17 +00:00
|
|
|
#include "../mwgui/window_manager.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) {}
|
|
|
|
|
2012-04-23 13:27:03 +00:00
|
|
|
void ActionTalk::execute()
|
2010-08-06 16:15:46 +00:00
|
|
|
{
|
2012-04-23 13:27:03 +00:00
|
|
|
MWBase::Environment::get().getDialogueManager()->startDialogue (mActor);
|
2010-08-06 16:15:46 +00:00
|
|
|
}
|
|
|
|
}
|