2012-11-15 21:22:44 +00:00
|
|
|
#include "aiactivate.hpp"
|
2014-01-07 00:12:37 +00:00
|
|
|
#include <iostream>
|
2012-11-15 21:22:44 +00:00
|
|
|
|
2014-01-07 00:12:37 +00:00
|
|
|
MWMechanics::AiActivate::AiActivate(const std::string &objectId)
|
|
|
|
: mObjectId(objectId)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
MWMechanics::AiActivate *MWMechanics::AiActivate::clone() const
|
|
|
|
{
|
|
|
|
return new AiActivate(*this);
|
|
|
|
}
|
|
|
|
bool MWMechanics::AiActivate::execute (const MWWorld::Ptr& actor,float duration)
|
|
|
|
{
|
|
|
|
std::cout << "AiActivate completed.\n";
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
int MWMechanics::AiActivate::getTypeId() const
|
|
|
|
{
|
|
|
|
return TypeIdActivate;
|
|
|
|
}
|