Update for class usage
This commit is contained in:
parent
2a7581336b
commit
b1573d8b4a
1 changed files with 2 additions and 2 deletions
|
@ -53,10 +53,10 @@ class Game:
|
||||||
'''
|
'''
|
||||||
animation = AsciiAnimation()
|
animation = AsciiAnimation()
|
||||||
animation.load_ascii(animid)
|
animation.load_ascii(animid)
|
||||||
for frame in animation:
|
for frame in animation.frames:
|
||||||
system("cls||clear")
|
system("cls||clear")
|
||||||
print(frame)
|
print(frame)
|
||||||
sleep(0.2)
|
sleep(animation.speed)
|
||||||
print()
|
print()
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue