mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-11-04 06:56:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
	
		
			682 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
	
		
			682 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef GAME_MWMECHANICS_AITRAVEL_H
 | 
						|
#define GAME_MWMECHANICS_AITRAVEL_H
 | 
						|
 | 
						|
#include "aipackage.hpp"
 | 
						|
 | 
						|
#include "pathfinding.hpp"
 | 
						|
 | 
						|
namespace MWMechanics
 | 
						|
{
 | 
						|
    class AiTravel : public AiPackage
 | 
						|
    {
 | 
						|
        public:
 | 
						|
            AiTravel(float x, float y, float z);
 | 
						|
            virtual AiTravel *clone() const;
 | 
						|
 | 
						|
            virtual bool execute (const MWWorld::Ptr& actor);
 | 
						|
                    ///< \return Package completed?
 | 
						|
 | 
						|
            virtual int getTypeId() const;
 | 
						|
 | 
						|
        private:
 | 
						|
            float mX;
 | 
						|
            float mY;
 | 
						|
            float mZ;
 | 
						|
 | 
						|
            int cellX;
 | 
						|
            int cellY;
 | 
						|
 | 
						|
            PathFinder mPathFinder;
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |