def __init__(self, name): super(StartBootcampTransition, self).__init__( ExternalFlashSettings( 'transitionFlash', name, 'root.main', ROOT_SWF_CONSTANTS.BOOTCAMP_TRANISITION_CALLBACK)) self.createExternalComponent() self.movie.scaleMode = 'NoScale' self.movie.backgroundAlpha = 0.6
def __init__(self): super(MarkersManager, self).__init__(ExternalFlashSettings(BATTLE_VIEW_ALIASES.MARKERS_2D, settings.MARKERS_MANAGER_SWF, 'root.vehicleMarkersCanvas', ROOT_SWF_CONSTANTS.BATTLE_VEHICLE_MARKERS_REGISTER_CALLBACK)) self.component.wg_inputKeyMode = 2 self.component.position.z = DEPTH_OF_VehicleMarker self.component.drawWithRestrictedViewPort = False self.movie.backgroundAlpha = 0 self.__plugins = None self.__canvas = None self.__ids = set() return
def __init__(self): super(WaitingTransition, self).__init__( ExternalFlashSettings( 'transition', 'waitingTransitionsApp.swf', 'root.main', ROOT_SWF_CONSTANTS.WAITING_TRANSITION_CALLBACK)) self.__textID = R.invalid() self.__mode = TransitionMode.DISABLED self.createExternalComponent() self.isEnabled = False self.movie.scaleMode = 'NoScale' self.movie.backgroundAlpha = _DEFAULT_MOVIE_BACKGROUND_ALPHA
def __init__(self): super(CrosshairPanelContainer, self).__init__(ExternalFlashSettings(BATTLE_VIEW_ALIASES.CROSSHAIR_PANEL, settings.CROSSHAIR_CONTAINER_SWF, settings.CROSSHAIR_ROOT_PATH, settings.CROSSHAIR_INIT_CALLBACK)) self.__plugins = PluginsCollection(self) self.__plugins.addPlugins(plugins.createPlugins()) self.__gunMarkers = None self.__viewID = CROSSHAIR_VIEW_ID.UNDEFINED self.__zoomFactor = 0.0 self.__scale = 1.0 self.__distance = 0 self.__hasAmmo = True return
def __init__(self): super(MarkersManager, self).__init__( ExternalFlashSettings( BATTLE_VIEW_ALIASES.MARKERS_2D, settings.MARKERS_MANAGER_SWF, 'root.vehicleMarkersCanvas', ROOT_SWF_CONSTANTS.BATTLE_VEHICLE_MARKERS_REGISTER_CALLBACK)) self.__plugins = None self.__canvas = None self.__ids = set() self.__isIBCEnabled = False self.__isStickyEnabled = False self.__showBaseMarkers = False return
def __init__(self, _): super(GameLoading, self).__init__( ExternalFlashSettings( 'gameLoading', 'gameLoadingApp.swf', 'root.main', ROOT_SWF_CONSTANTS.GAME_LOADING_REGISTER_CALLBACK))
def __init__(self): super(BattleResultTransition, self).__init__( ExternalFlashSettings('transitionFlash', 'bootcampBattleResultTransitionsApp.swf', 'root.main', '')) self.movie.scaleMode = 'NoScale'
def __init__(self): super(BattleResultTransition, self).__init__(ExternalFlashSettings('transitionFlash', 'bootcampBattleResultTransitionsApp.swf', 'root.main', ROOT_SWF_CONSTANTS.BOOTCAMP_TRANISITION_CALLBACK)) self.movie.scaleMode = 'NoScale'