Advertisement
Guest User

Untitled

a guest
May 28th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. class AnimSystem:
  2.     '''Sets up the variables needed for the animation system
  3.    init_animsystem(args here'''
  4.     def __init(self):
  5.         self.sprite = 0
  6.         self.sprite_list = sprlist
  7.         self.frame = 0
  8.         self.frameclock = 0
  9.  
  10. class test(AnimSystem):
  11.  
  12.     def __init__(self):
  13.         pass
  14.  
  15. testobject = test()
  16.  
  17. print(testobject.sprite) #i want this to print the value from AnimSystem
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement