def __init__(self): Base.__init__(self) self.level_spawn = 0 self.player_death_msg = '' self.monster_death_msg = '' self.name = '' self.exp = 0
def __init__(self, config_object): Base.__init__(self, config_object) ips_data = self.config_object.get_node_by_attr("name", "ips") self.dockerSubnetIpRange = ips_data.find( 'dockerSubnetIpRange').text.replace("/", "\/")
def __init__(self): # starting values Base.__init__(self) self.max_stats = {'health': 100, 'attack': 10, 'defense': 1, 'mana': 5} self.curr_stats = copy.copy(self.max_stats) self.skills = [StrongAttack()] self.level = 1 self.to_next_level = 0
def __init__(self, hostname, username, password): ''' Constructor ''' self._hostname = hostname self._username = username self._password = password Base.__init__(self, SSH(hostname, username, password)) self._eth_if_list = None
def __init__(self, config_object): Base.__init__(self, config_object) ips_data = self.config_object.get_node_by_attr("name", "ips") self.serviceClusterIpRange = ips_data.find( 'serviceClusterIpRange').text.replace("/", "\/") self.serviceClusterGatewayIp = ips_data.find( 'serviceClusterGatewayIp').text self.serviceClusterDnsIp = ips_data.find('serviceClusterDnsIp').text self.podClusterIpRange = ips_data.find( 'podClusterIpRange').text.replace("/", "\/") node_data = self.node_object.get_node_by_attr("name", "proxy") self.proxy_host = node_data.find('hostname').text self.proxy_port = node_data.find('port').text
def __init__(self, config_object): Base.__init__(self, config_object)
def __init__(self, ssh): ''' Constructor ''' Base.__init__(self, ssh)
def __init__(self): Base.__init__(self)
def __init__(self): Base.__init__(self) pygame.init() self.screen = pygame.display.set_mode([1024, 768])