pyzzle :: Item :: Item :: Class Item
[hide private]
[frames] | no frames]

Class Item

source code

A collection of slides and hotspots that together represent an item within the game world.

Warning: The Item class is still very early in design, and I reserve the right to radically change as I see fit. You have been warned.

Instance Methods [hide private]
__init__(self, gameSlide, gameHotspot, takenfile, menuSlide, closeupSlide=None, id=None, taken=False, onTake=lambda item: None, onUse=lambda item: None) source code
add(self) source code
take(self, *param) source code
exit(self, *param) source code
use(self, *param) source code
drop(self) source code
Static Methods [hide private]
_load(cells) source code
Class Variables [hide private]
  __metaclass__ = Table
  inventory = Group()