(self, sprite)
return width_record + record[2:]
Pack sprite, report only half the width packed.
Pack sprite, report only half the width packed.
Pack sprite report only half the width packed .
def pack(self, sprite):
        """Pack sprite, report only half the width packed."""
        record = PlanedSpriteBuilder.pack(self, sprite)
        width_record = struct.pack('<H', sprite.width // 2)
        return width_record + record[2:]
def pack ( self , sprite ) : record = PlanedSpriteBuilder . pack ( self , sprite ) width_record = struct . pack ( '<H' , sprite . width // 2 ) return width_record + record [ 2 : ]