Mercurial > skaapsteker
diff skaapsteker/engine.py @ 339:a9d760134706
Rename ItemRepopulationEvent to AddSprite before repurposing it for fireballs.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sat, 09 Apr 2011 12:53:49 +0200 |
parents | c68f2f3efc7f |
children | 87246b84a851 |
line wrap: on
line diff
--- a/skaapsteker/engine.py Sat Apr 09 12:47:09 2011 +0200 +++ b/skaapsteker/engine.py Sat Apr 09 12:53:49 2011 +0200 @@ -153,12 +153,12 @@ super(GlobalNpcEvent, cls).post(ev=ev) -class ItemRepopulationEvent(UserEvent): # TODO: Needed? +class AddSpriteEvent(UserEvent): - utype = "ITEM_REPOPULATION_EVENT" + utype = "ADD_SPRITE_EVENT" @classmethod def post(cls, item): - """Put a Sprite back in the world. + """Put a Sprite into the world. """ - super(ItemRepopulationEvent, cls).post(item=item) + super(AddSpriteEvent, cls).post(item=item)