1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00
OpenMW/apps/openmw/mwmechanics/aiactivate.cpp

22 lines
454 B
C++
Raw Normal View History

2012-11-15 21:22:44 +00:00
#include "aiactivate.hpp"
#include <iostream>
2012-11-16 19:28:20 +00:00
MWMechanics::AiActivate::AiActivate(const std::string &objectId)
: mObjectId(objectId)
2012-11-15 21:22:44 +00:00
{
}
MWMechanics::AiActivate *MWMechanics::AiActivate::clone() const
{
return new AiActivate(*this);
}
2013-10-30 19:42:50 +00:00
bool MWMechanics::AiActivate::execute (const MWWorld::Ptr& actor,float duration)
2012-11-15 21:22:44 +00:00
{
std::cout << "AiActivate completed.\n";
return true;
}
int MWMechanics::AiActivate::getTypeId() const
{
return 4;
}