Go to the documentation of this file.00001 #ifndef __NYTRO_AiPathfinding_H
00002 #define __NYTRO_AiPathfinding_H
00003
00004
00005
00006
00007
00008
00009
00010
00011 #include "system/nyCommon.h"
00012
00013 namespace Nytro
00014 {
00015 namespace Ai
00016 {
00018 class NYTRO_API AiPath
00019 {
00020 public:
00021
00022 void setCost( float32 aCost );
00023
00024 float32 getLength();
00025 float32 getCost();
00026 vector<Vector3D>& getPoints();
00027 Vector3D getNearestPoint( Vector3D& rPoint );
00028
00029 protected:
00030
00031 vector<Vector3D> m_points;
00032 float32 m_cost;
00033 };
00034
00036 class NYTRO_API AiPathfinding : public Base
00037 {
00038 public:
00039
00040 AiPathfinding();
00041 virtual ~AiPathfinding();
00042
00043 protected:
00044
00045 private:
00046
00047 };
00048 };
00049 };
00050
00051 #endif