def init_build_bot(self, type, playscene, left, top, right, bottom):
		self.has_data = False
		self.bot_query = network.send_getbots(playscene.user_id, playscene.password)
		self.bot_type = type
		self.build_bot_command = None
 def init_build_bot(self, type, playscene, left, top, right, bottom):
     self.has_data = False
     self.bot_query = network.send_getbots(playscene.user_id,
                                           playscene.password)
     self.bot_type = type
     self.build_bot_command = None
Ejemplo n.º 3
0
	def deploy_bots(self, playscene, flush=False):
		if self.deploy_request == None:
			if flush:
				self.deploy_request = network.send_deploy(playscene.user_id, playscene.password)
			else:
				self.deploy_request = network.send_getbots(playscene.user_id, playscene.password)