mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
40 lines
586 B
C++
40 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;
|
|
}
|
|
|