mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
7c0b51fb7e
Should extend AiActivate in the future
30 lines
724 B
C++
30 lines
724 B
C++
#ifndef GAME_MWMECHANICS_AIACTIVATE_H
|
|
#define GAME_MWMECHANICS_AIACTIVATE_H
|
|
|
|
#include "aipackage.hpp"
|
|
#include <string>
|
|
|
|
#include "pathfinding.hpp"
|
|
|
|
namespace MWMechanics
|
|
{
|
|
|
|
class AiActivate : public AiPackage
|
|
{
|
|
public:
|
|
AiActivate(const std::string &objectId);
|
|
virtual AiActivate *clone() const;
|
|
virtual bool execute (const MWWorld::Ptr& actor,float duration);
|
|
///< \return Package completed?
|
|
virtual int getTypeId() const;
|
|
|
|
private:
|
|
std::string mObjectId;
|
|
|
|
PathFinder mPathFinder;
|
|
int mCellX;
|
|
int mCellY;
|
|
};
|
|
}
|
|
#endif // GAME_MWMECHANICS_AIACTIVATE_H
|