comparison gamelib/state.py @ 489:463a8d60c73e engine_refactor

Item uses InteractMixin, but currently overrides everything in it.
author Jeremy Thurgood <firxen@gmail.com>
date Sun, 29 Aug 2010 13:27:29 +0200
parents d8087848722d
children 2e784f978d1a
comparison
equal deleted inserted replaced
488:d8087848722d 489:463a8d60c73e
497 for rect in self.rect: 497 for rect in self.rect:
498 frame_rect(surface, self._interact_hilight_color, 498 frame_rect(surface, self._interact_hilight_color,
499 rect.inflate(1, 1), 1) 499 rect.inflate(1, 1), 1)
500 500
501 501
502 class Item(object): 502 class Item(InteractiveMixin):
503 """Base class for inventory items.""" 503 """Base class for inventory items."""
504 504
505 # image for inventory 505 # image for inventory
506 INVENTORY_IMAGE = None 506 INVENTORY_IMAGE = None
507 507