コード例 #1
0
ファイル: cat.py プロジェクト: jcharra/StreetCatz
 def render(self, surface, offset):
     AnimatedGameEntity.render(self, surface, offset)
     surface.fill(self.hungerColour, (self.location.x - offset[0], 
                                      self.location.y - offset[1] + self.image.get_height() + 5, 
                                      self.hunger, 4))