2010-08-06 18:15:46 +02:00
|
|
|
#include "actiontalk.hpp"
|
|
|
|
|
2012-04-23 15:27:03 +02:00
|
|
|
#include "../mwbase/environment.hpp"
|
2012-08-09 10:35:53 +02:00
|
|
|
#include "../mwbase/dialoguemanager.hpp"
|
2010-08-06 18:15:46 +02:00
|
|
|
|
|
|
|
namespace MWWorld
|
|
|
|
{
|
2012-09-04 15:38:21 +02:00
|
|
|
ActionTalk::ActionTalk (const Ptr& actor) : Action (false, actor) {}
|
2010-08-06 18:15:46 +02:00
|
|
|
|
2012-07-27 12:00:10 +02:00
|
|
|
void ActionTalk::executeImp (const Ptr& actor)
|
2010-08-06 18:15:46 +02:00
|
|
|
{
|
2012-09-04 15:38:21 +02:00
|
|
|
MWBase::Environment::get().getDialogueManager()->startDialogue (getTarget());
|
2010-08-06 18:15:46 +02:00
|
|
|
}
|
|
|
|
}
|