oldschool-toontown/toontown/cogdominium/DistCogdoMazeGameBase.py

12 lines
408 B
Python
Raw Normal View History

2019-11-02 17:27:54 -05:00
from direct.showbase.RandomNumGen import RandomNumGen
from toontown.cogdominium.CogdoMaze import CogdoMazeFactory
from . import CogdoMazeGameGlobals as Globals
2019-11-02 17:27:54 -05:00
class DistCogdoMazeGameBase:
def createRandomNumGen(self):
return RandomNumGen(self.doId)
def createMazeFactory(self, randomNumGen):
return CogdoMazeFactory(randomNumGen, Globals.NumQuadrants[0], Globals.NumQuadrants[1])