mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
26 lines
420 B
C++
26 lines
420 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;
|
|
}
|
|
|
|
|