Update for class usage

This commit is contained in:
Matyáš Caras 2022-01-26 09:25:24 +01:00
parent 2a7581336b
commit b1573d8b4a

View file

@ -53,10 +53,10 @@ class Game:
'''
animation = AsciiAnimation()
animation.load_ascii(animid)
for frame in animation:
for frame in animation.frames:
system("cls||clear")
print(frame)
sleep(0.2)
sleep(animation.speed)
print()