Poodletooth-iLand/toontown/minigame/Maze.py
Master Jumblespeed d882959bfa switch to remote
2015-05-18 22:11:33 -04:00

11 lines
409 B
Python
Executable file

from MazeBase import MazeBase
import MazeData
class Maze(MazeBase):
def __init__(self, mapName, mazeData = MazeData.mazeData, cellWidth = MazeData.CELL_WIDTH):
model = loader.loadModel(mapName)
mData = mazeData[mapName]
self.treasurePosList = mData['treasurePosList']
self.numTreasures = len(self.treasurePosList)
MazeBase.__init__(self, model, mData, cellWidth)