factorySpecNum -> factoryId

This commit is contained in:
Darren Ranalli 2004-01-28 02:36:08 +00:00
parent 26a4a2b980
commit 3fc8c20500

View File

@ -7,14 +7,14 @@ import GoonPathData
class PathEntity(BasicEntities.NodePathEntity):
def __init__(self, level, entId):
BasicEntities.NodePathEntity.__init__(self, level, entId)
self.path = GoonPathData.Paths[self.level.factorySpecNum][self.pathIndex]
self.path = GoonPathData.Paths[self.level.factoryId][self.pathIndex]
def destroy(self):
BasicEntities.NodePathEntity.destroy(self)
def setPathIndex(self, pathIndex):
self.pathIndex = pathIndex
self.path = GoonPathData.Paths[self.level.factorySpecNum][self.pathIndex]
self.path = GoonPathData.Paths[self.level.factoryId][self.pathIndex]
def makePathTrack(self, node, velocity, name, turnTime=1, lookAroundNode=None):
track = Sequence(name = name)