Mercurial > skaapsteker
comparison skaapsteker/sprites/items.py @ 189:9d08f99b5ddf
Add npcs to gamestate. Update gamestate. Pass world around a bit. Some other stuff.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Wed, 06 Apr 2011 21:14:26 +0200 |
parents | 663bdac80299 |
children | 993f4f55eb93 |
comparison
equal
deleted
inserted
replaced
188:30a5f7cf670a | 189:9d08f99b5ddf |
---|---|
1 from base import Item | 1 from base import Item |
2 | 2 |
3 | 3 |
4 class Dummy(Item): | 4 class TeaCup(Item): |
5 image_file = 'teacup_empty.png' | |
6 | |
7 | |
8 class TeaLeaf(Item): | |
5 image_file = 'tealeaf.png' | 9 image_file = 'tealeaf.png' |
6 | 10 |
7 def setup(self, missions): | 11 |
8 self.missions = missions | 12 class TeaPot(Item): |
13 image_file = 'teapot.png' |