I am having problems accessing a variable from one class to another.
class Player(pygame.sprite.Sprite):
def rotateShip(self, rotAmt):
radians = self.rotation * math.pi / 180
I am trying to use the variable radians from class Player to another class. radians only exists in 'rotateShip'.
Thanks for your help in advance.