You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/apps/openmw/mwmechanics/aiactivate.hpp

30 lines
712 B
C++

#ifndef GAME_MWMECHANICS_AIACTIVATE_H
#define GAME_MWMECHANICS_AIACTIVATE_H
#include "aipackage.hpp"
#include <string>
11 years ago
#include "pathfinding.hpp"
namespace MWMechanics
{
12 years ago
class AiActivate : public AiPackage
{
public:
12 years ago
AiActivate(const std::string &objectId);
virtual AiActivate *clone() const;
11 years ago
virtual bool execute (const MWWorld::Ptr& actor,float duration);
///< \return Package completed?
virtual int getTypeId() const;
private:
12 years ago
std::string mObjectId;
11 years ago
PathFinder mPathFinder;
int mCellX;
int mCellY;
};
}
#endif // GAME_MWMECHANICS_AIACTIVATE_H