예제 #1
0
	def __str__(self):
		output = [Object.__str__(self)]
		for property in self.properties:
			arg = list(getattr(self, property.name))
			output.append(property.pack(arg))
			
		return "".join(output)
예제 #2
0
 def __str__(self):
     return ';'.join([str(self.hunger), Object.__str__(self)])
예제 #3
0
 def __str__(self):
     return ';'.join([self.material,Object.__str__(self)])
예제 #4
0
 def __str__(self):
     return ';'.join([self.material, Object.__str__(self)])