Exemple #1
0
 def getEntityTypeReg(self):
     # return an EntityTypeRegistry with information about the
     # entity types that the crane game uses
     from . import CogdoEntityTypes
     from otp.level import EntityTypeRegistry
     typeReg = EntityTypeRegistry.EntityTypeRegistry(CogdoEntityTypes)
     return typeReg
Exemple #2
0
 def getEntityTypeReg(self):
     # return an EntityTypeRegistry with information about the
     # entity types that factories use
     import FactoryEntityTypes
     from otp.level import EntityTypeRegistry
     typeReg = EntityTypeRegistry.EntityTypeRegistry(FactoryEntityTypes)
     return typeReg
Exemple #3
0
 def getStageEntityTypeReg(self):
     # return an EntityTypeRegistry with information about the
     # entity types that stages use
     # Use the same types as factories
     import FactoryEntityTypes
     from otp.level import EntityTypeRegistry
     typeReg = EntityTypeRegistry.EntityTypeRegistry(FactoryEntityTypes)
     return typeReg
Exemple #4
0
 def getCountryClubEntityTypeReg(self):
     # return an EntityTypeRegistry with information about the
     # entity types that countryClubys use
     # Use the same types as factories
     from . import FactoryEntityTypes
     from otp.level import EntityTypeRegistry
     typeReg = EntityTypeRegistry.EntityTypeRegistry(FactoryEntityTypes)
     return typeReg
Exemple #5
0
 def getEntityTypeReg(self):
     from toontown.coghq import FactoryEntityTypes
     from otp.level import EntityTypeRegistry
     typeReg = EntityTypeRegistry.EntityTypeRegistry(FactoryEntityTypes)
     return typeReg
Exemple #6
0
 def getEntityTypeReg(self):
     import CogdoEntityTypes
     from otp.level import EntityTypeRegistry
     typeReg = EntityTypeRegistry.EntityTypeRegistry(CogdoEntityTypes)
     return typeReg
Exemple #7
0
 def getCountryClubEntityTypeReg(self):
     from . import FactoryEntityTypes
     from otp.level import EntityTypeRegistry
     typeReg = EntityTypeRegistry.EntityTypeRegistry(FactoryEntityTypes)
     return typeReg
Exemple #8
0
 def getEntityTypeReg(self):
     from toontown.cogdominium import CogdoEntityTypes
     from otp.level import EntityTypeRegistry
     typeReg = EntityTypeRegistry.EntityTypeRegistry(CogdoEntityTypes)
     return typeReg