|
|
|
@ -1,10 +1,11 @@
|
|
|
|
|
#include "aiescort.hpp"
|
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
|
|
MWMechanics::AiEscort::AiEscort(const std::string &actorID,int duration, float x, float y, float z):
|
|
|
|
|
mActorID(actorID), mDuration(duration), mX(x), mY(y), mZ(z)
|
|
|
|
|
MWMechanics::AiEscort::AiEscort(const std::string &actorId,int duration, float x, float y, float z)
|
|
|
|
|
: mActorId(actorId), mX(x), mY(y), mZ(z), mDuration(duration)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
MWMechanics::AiEscort *MWMechanics::AiEscort::clone() const
|
|
|
|
|
{
|
|
|
|
|
return new AiEscort(*this);
|
|
|
|
@ -21,25 +22,3 @@ int MWMechanics::AiEscort::getTypeId() const
|
|
|
|
|
return 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
float MWMechanics::AiEscort::getX()
|
|
|
|
|
{
|
|
|
|
|
return mX;
|
|
|
|
|
}
|
|
|
|
|
float MWMechanics::AiEscort::getY()
|
|
|
|
|
{
|
|
|
|
|
return mY;
|
|
|
|
|
}
|
|
|
|
|
float MWMechanics::AiEscort::getZ()
|
|
|
|
|
{
|
|
|
|
|
return mZ;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::string MWMechanics::AiEscort::getActorID()
|
|
|
|
|
{
|
|
|
|
|
return mActorID;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int MWMechanics::AiEscort::getDuration()
|
|
|
|
|
{
|
|
|
|
|
return mDuration;
|
|
|
|
|
}
|
|
|
|
|