def to_json(self): ''' Serialize the important members of this class as a json object ''' json = ShooterSprite.to_json(self) json['health'] = 50 return json