1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 15:39:02 +00:00
OpenMW/apps/openmw/mwmechanics/aitravel.cpp

26 lines
420 B
C++
Raw Normal View History

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;
}