historical/toontown-classic.git/panda/include/DNASuitPath.h

32 lines
680 B
C
Raw Normal View History

2024-01-16 17:20:27 +00:00
#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