diff pytouhou/game/item.py @ 156:ebfd328e700c

Rename a few functions, move a few things around...
author Thibaut Girka <thib@sitedethib.com>
date Mon, 10 Oct 2011 18:34:36 +0200
parents 37df8c618c2e
children e1bc8c4cbb1a
line wrap: on
line diff
--- a/pytouhou/game/item.py
+++ b/pytouhou/game/item.py
@@ -50,11 +50,6 @@ class Item(object):
         self._sprite.angle = angle
 
 
-    def collect(self, player):
-        player.state.score += self._item_type.score
-        self._removed = True
-
-
     def update(self):
         dx, dy = self.delta