1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 11:49:56 +00:00
openmw-tes3mp/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;
}