123
This commit is contained in:
29
CryAISystem/VertexList.h
Normal file
29
CryAISystem/VertexList.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef _VERTEX_LIST_
|
||||
#define _VERTEX_LIST_
|
||||
|
||||
#include <iagent.h>
|
||||
|
||||
class CCryFile;
|
||||
|
||||
class CVertexList
|
||||
{
|
||||
|
||||
Obstacles m_vList;
|
||||
|
||||
public:
|
||||
CVertexList(void);
|
||||
~CVertexList(void);
|
||||
int AddVertex(const ObstacleData & od);
|
||||
|
||||
const ObstacleData GetVertex(int index);
|
||||
ObstacleData &ModifyVertex(int index);
|
||||
int FindVertex(const ObstacleData & od);
|
||||
|
||||
void WriteToFile( CCryFile& file );
|
||||
void ReadFromFile( class CCryFile &file );
|
||||
|
||||
void Clear() {m_vList.clear();}
|
||||
int GetSize() {return m_vList.size();}
|
||||
};
|
||||
|
||||
#endif // #ifndef _VERTEX_LIST_
|
||||
Reference in New Issue
Block a user