1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00
OpenMW/apps/openmw/mwmechanics/aifollow.hpp

28 lines
666 B
C++
Raw Normal View History

2012-11-15 22:32:15 +01:00
#ifndef GAME_MWMECHANICS_AIFALLOW_H
#define GAME_MWMECHANICS_AIFALLOW_H
#include "aipackage.hpp"
#include <string>
namespace MWMechanics
{
2012-11-16 20:28:20 +01:00
class AiFollow : public AiPackage
2012-11-16 18:38:15 +01:00
{
public:
2012-11-16 20:28:20 +01:00
AiFollow(const std::string &ActorId,float duration, float X, float Y, float Z);
2012-11-16 18:38:15 +01:00
virtual AiFollow *clone() const;
virtual bool execute (const MWWorld::Ptr& actor);
///< \return Package completed?
virtual int getTypeId() const;
2012-11-15 22:32:15 +01:00
2012-11-16 18:38:15 +01:00
private:
float mDuration;
float mX;
float mY;
float mZ;
2012-11-16 20:28:20 +01:00
std::string mActorId;
2012-11-16 18:38:15 +01:00
};
2012-11-15 22:32:15 +01:00
}
#endif