Mercurial > rinkhals
diff gamelib/animal.py @ 477:c1439f6705a2
Start of fix for save/restore after animals gained gameboards.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Wed, 25 Nov 2009 18:44:23 +0000 |
parents | 3dae0fc14009 |
children | 3ed6c011106d |
line wrap: on
line diff
--- a/gamelib/animal.py Wed Nov 25 17:44:32 2009 +0000 +++ b/gamelib/animal.py Wed Nov 25 18:44:23 2009 +0000 @@ -30,6 +30,7 @@ 'accoutrements', 'abode', 'facing', + 'gameboard', ] def __init__(self, tile_pos, gameboard): @@ -52,7 +53,7 @@ def make(cls): """Override default Simplifiable object creation.""" - return cls((0, 0)) + return cls((0, 0), None) make = classmethod(make) def unsimplify(cls, *args, **kwargs):