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/aicombat.hpp

36 lines
750 B
C++

11 years ago
#ifndef GAME_MWMECHANICS_AICOMBAT_H
#define GAME_MWMECHANICS_AICOMBAT_H
#include "aipackage.hpp"
#include "pathfinding.hpp"
#include "movement.hpp"
namespace MWMechanics
{
class AiCombat : public AiPackage
{
public:
AiCombat(const std::string &targetId);
virtual AiCombat *clone() const;
11 years ago
virtual bool execute (const MWWorld::Ptr& actor,float duration);
11 years ago
///< \return Package completed?
virtual int getTypeId() const;
virtual unsigned int getPriority() const;
11 years ago
private:
std::string mTargetId;
PathFinder mPathFinder;
PathFinder mPathFinder2;
11 years ago
float mTimer;
float mTimer2;
11 years ago
};
}
#endif