[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Name self not defined



Damn, still haven't learned to format after all these years:

class Car(Basicsprite): #car class def move(self, speedv=None):
       self.rect = self.rect.move(speedv or (0,0))