2012-11-14 17:42:04 +00:00
|
|
|
#include "aitravel.hpp"
|
2012-11-15 21:15:20 +00:00
|
|
|
#include <iostream>
|
2012-11-14 17:42:04 +00:00
|
|
|
|
2012-11-16 19:28:20 +00:00
|
|
|
MWMechanics::AiTravel::AiTravel(float x, float y, float z)
|
|
|
|
: mX(x),mY(y),mZ(z)
|
2012-11-14 17:42:04 +00:00
|
|
|
{
|
|
|
|
}
|
2012-11-15 21:15:20 +00:00
|
|
|
|
2012-11-14 17:42:04 +00:00
|
|
|
MWMechanics::AiTravel * MWMechanics::AiTravel::clone() const
|
|
|
|
{
|
2012-11-15 21:15:20 +00:00
|
|
|
return new AiTravel(*this);
|
2012-11-14 17:42:04 +00:00
|
|
|
}
|
2012-11-15 21:15:20 +00:00
|
|
|
|
2012-11-14 17:42:04 +00:00
|
|
|
bool MWMechanics::AiTravel::execute (const MWWorld::Ptr& actor)
|
|
|
|
{
|
2012-11-15 21:15:20 +00:00
|
|
|
std::cout << "AiTravel completed.\n";
|
2012-11-14 17:42:04 +00:00
|
|
|
return true;
|
|
|
|
}
|
2012-11-15 21:15:20 +00:00
|
|
|
|
2012-11-14 17:42:04 +00:00
|
|
|
int MWMechanics::AiTravel::getTypeId() const
|
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|