I want to use the self variables in one class and use them in another class which already has its own self variables how to do I do this. Some code here to help.
class A():self.health = 5
class B(): # This class already has a self functionfor sprite in all_sprites:if pygame.sprite.collide_circle(self, sprite):self.collide = Trueself.health -= 0.1