historical/toontown-classic.git/toontown/cogdominium/DistCogdoMazeGameBase.py
2024-01-16 11:20:27 -06:00

11 lines
401 B
Python

from direct.showbase.RandomNumGen import RandomNumGen
from toontown.cogdominium.CogdoMaze import CogdoMazeFactory
import CogdoMazeGameGlobals as Globals
class DistCogdoMazeGameBase:
def createRandomNumGen(self):
return RandomNumGen(self.doId)
def createMazeFactory(self, randomNumGen):
return CogdoMazeFactory(randomNumGen, Globals.NumQuadrants[0], Globals.NumQuadrants[1])