Poodletooth-iLand/toontown/dna/DNASuitPath.py

18 lines
444 B
Python
Raw Normal View History

2015-03-03 22:10:12 +00:00
class DNASuitPath:
def __init__(self):
self.suitPoints = []
def getNumPoints(self):
return len(self.suitPoints)
def getPointIndex(self, pointIndex):
return self.suitPoints[pointIndex].getIndex()
def addPoint(self, point):
self.suitPoints.append(point)
def getPoint(self, pointIndex):
return self.suitPoints[pointIndex]
def reversePath(self):
self.suitPoints.reverse()