Пример #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
Пример #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
Пример #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
Пример #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
Пример #5
0
 def getEntityTypeReg(self):
     from toontown.coghq import FactoryEntityTypes
     from otp.level import EntityTypeRegistry
     typeReg = EntityTypeRegistry.EntityTypeRegistry(FactoryEntityTypes)
     return typeReg
Пример #6
0
 def getEntityTypeReg(self):
     import CogdoEntityTypes
     from otp.level import EntityTypeRegistry
     typeReg = EntityTypeRegistry.EntityTypeRegistry(CogdoEntityTypes)
     return typeReg
Пример #7
0
 def getCountryClubEntityTypeReg(self):
     from . import FactoryEntityTypes
     from otp.level import EntityTypeRegistry
     typeReg = EntityTypeRegistry.EntityTypeRegistry(FactoryEntityTypes)
     return typeReg
Пример #8
0
 def getEntityTypeReg(self):
     from toontown.cogdominium import CogdoEntityTypes
     from otp.level import EntityTypeRegistry
     typeReg = EntityTypeRegistry.EntityTypeRegistry(CogdoEntityTypes)
     return typeReg