historical/toontown-classic.git/panda/include/DNASuitPath.h
2024-01-16 11:20:27 -06:00

31 lines
680 B
C++

#ifndef _H_DNA_SUITPATH_
#define _H_DNA_SUITPATH_
#include "DNASuitPoint.h"
#include "typedReferenceCount.h"
#include "pvector.h"
typedef pvector<PT(DNASuitPoint)> suit_point_vec_t;
class EXPCL_DNA DNASuitPath : public TypedReferenceCount
{
PUBLISHED:
DNASuitPath();
~DNASuitPath();
void add_point(PT(DNASuitPoint) point);
PT(DNASuitPoint) get_point(int index);
bool has_point(PT(DNASuitPoint) point);
int get_num_points();
point_index_t get_point_index(int index);
void reverse_path();
protected:
suit_point_vec_t m_suit_points;
TYPE_HANDLE(DNASuitPath, TypedReferenceCount);
};
#endif