Commits

Devin Jeanpierre committed f7501e5

I'm just too lazy to alter the unit tests at the moment, that's all.

Comments (0)

Files changed (1)

tetrisinventory/__init__.py

             self.offset_controller.transform(item.slots, offset))
     
     def can_insert(self, item, offset):
+        """Check whether an item can be added at a given offset
+        
+        will probably be removed later, as .collisions(item, offset) is more
+        general.
+        
+        """
         return not self.collisions(item, offset)
     
     @adds_item