예제 #1
0
 def __init__(self):
     Entity.__init__(self)
     self.recipes = {Spear(None): ['sharp_stone', 'stick', 'liana'],
                     Axe(None): ['sharp_stone', 'log', 'liana']}
예제 #2
0
 def __init__(self, pos, text=''):
     Entity.__init__(self)
     self.pos = pos
     self.text = text
     self.font = pygame.font.SysFont("monospace", 18)