mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 06:49:55 +00:00
39 lines
586 B
C++
39 lines
586 B
C++
#include "aitravel.hpp"
|
|
#include <iostream>
|
|
|
|
MWMechanics::AiTravel::AiTravel(float x, float y, float z):
|
|
mX(x),mY(y),mZ(z)
|
|
{
|
|
}
|
|
|
|
MWMechanics::AiTravel * MWMechanics::AiTravel::clone() const
|
|
{
|
|
return new AiTravel(*this);
|
|
}
|
|
|
|
bool MWMechanics::AiTravel::execute (const MWWorld::Ptr& actor)
|
|
{
|
|
std::cout << "AiTravel completed.\n";
|
|
return true;
|
|
}
|
|
|
|
int MWMechanics::AiTravel::getTypeId() const
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
float MWMechanics::AiTravel::getX()
|
|
{
|
|
return mX;
|
|
}
|
|
|
|
float MWMechanics::AiTravel::getY()
|
|
{
|
|
return mY;
|
|
}
|
|
|
|
float MWMechanics::AiTravel::getZ()
|
|
{
|
|
return mZ;
|
|
}
|
|
|