mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 08:37:12 +00:00
28 lines
567 B
C++
28 lines
567 B
C++
#include "aifallow.hpp"
|
|
|
|
MWMechanics::AiFallow::AiFallow(std::string ActorID,float duration, float X, float Y, float Z, bool Reset)
|
|
{
|
|
mActorID = ActorID;
|
|
mDuration = duration;
|
|
mX = X;
|
|
mY = Y;
|
|
mZ = Z;
|
|
mReset = Reset;
|
|
}
|
|
MWMechanics::AiFallow *MWMechanics::AiFallow::clone() const
|
|
{
|
|
AiFallow * temp = new AiFallow(*this);
|
|
return temp;
|
|
}
|
|
|
|
bool MWMechanics::AiFallow::execute (const MWWorld::Ptr& actor)
|
|
{
|
|
std::cout << "AiFallow complited. \n";
|
|
return true;
|
|
}
|
|
|
|
int MWMechanics::AiFallow::getTypeId() const
|
|
{
|
|
return 3;
|
|
}
|