def create(cls, setup): repository = super(ClassicControllersRepository, cls).create(setup) repository.addArenaViewController( team_bases_ctrl.createTeamsBasesCtrl(setup), setup) repository.addArenaController( dyn_squad_functional.DynSquadFunctional(setup), setup) repository.addViewController(debug_ctrl.DebugController(), setup) repository.addViewController( default_maps_ctrl.DefaultMapsController(setup), setup) repository.addArenaViewController(battle_field_ctrl.BattleFieldCtrl(), setup) repository.addArenaController(DefaultAppearanceCacheController(setup), setup) return repository
def create(cls, setup): repository = super(BattleRoyaleControllersRepository, cls).create(setup) repository.addArenaViewController(progression_ctrl.ProgressionController(), setup) repository.addArenaViewController(battle_field_ctrl.BattleFieldCtrl(), setup) repository.addViewController(spawn_ctrl.SpawnController(), setup) repository.addViewController(debug_ctrl.DebugController(), setup) repository.addArenaViewController(vehicles_count_ctrl.VehicleCountController(), setup) repository.addViewController(default_maps_ctrl.DefaultMapsController(setup), setup) repository.addArenaController(BattleRoyaleAppearanceCacheController(setup), setup) repository.addArenaController(death_ctrl.DeathScreenController(), setup) if setup.isReplayPlaying: radarCtrl = radar_ctrl.RadarReplayController() else: radarCtrl = radar_ctrl.RadarController() repository.addViewController(radarCtrl, setup) return repository
def create(cls, setup): from gui.Scaleform.daapi.view.battle.maps_training import battle_hints_mt repository = super(MapsTrainingControllerRepository, cls).create(setup) repository.addArenaViewController( team_bases_ctrl.createTeamsBasesCtrl(setup), setup) repository.addArenaController( dyn_squad_functional.DynSquadFunctional(setup), setup) repository.addViewController(debug_ctrl.DebugController(), setup) repository.addViewController( default_maps_ctrl.DefaultMapsController(setup), setup) repository.addViewController( game_messages_ctrl.createGameMessagesController(setup), setup) repository.addArenaViewController(battle_field_ctrl.BattleFieldCtrl(), setup) repository.addViewController( battle_hints_mt.createBattleHintsController(), setup) repository.addArenaController( MapsTrainingAppearanceCacheController(setup), setup) return repository