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)
def __str__(self): return ';'.join([str(self.hunger), Object.__str__(self)])
def __str__(self): return ';'.join([self.material,Object.__str__(self)])
def __str__(self): return ';'.join([self.material, Object.__str__(self)])