Poodletooth-iLand/toontown/cogdominium/DistCogdoMazeGameBase.py

12 lines
401 B
Python
Raw Permalink Normal View History

2015-11-14 13:28:53 -06:00
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])