예제 #1
0
 def __init__(self, id, pos, game):
     Plant.__init__(self, id, "cherries.png", pos, game, life=25)
     self.selected = False
     self.grazers = []
예제 #2
0
 def grow(self, plants):
     Plant.grow(self, Cherry, plants)