Когда я набираю это ...
class doorsprite(Sprite):
def __init__(self, game, photo_image, x, y, width, height):
Sprite.__init__(self, game)
self.photo_image = photo_image
self.image = game.canvas.create_image(x, y, \
image=self.photo_image, anchor='nw')
self.coordinates = Coords(x, y, x + (width / 2), y + height)
self.endgame = True
Я получаю ...
Traceback (most recent call last):
File "C:\Users\telta\Desktop\stickman game.py", line 94, in <module>
class DoorSprite(Sprite):
NameError: name 'Sprite' is not defined