diff gamelib/animal.py @ 439:cf4b020e6385

Start of serializer for buildings and support for reference cycles.
author Simon Cross <hodgestar@gmail.com>
date Sat, 21 Nov 2009 18:34:36 +0000
parents 16437cf4a2b8
children 7b5e4b6dd889
line wrap: on
line diff
--- a/gamelib/animal.py	Sat Nov 21 18:15:01 2009 +0000
+++ b/gamelib/animal.py	Sat Nov 21 18:34:36 2009 +0000
@@ -54,9 +54,9 @@
         return cls((0, 0))
     make = classmethod(make)
 
-    def unsimplify(cls, value):
+    def unsimplify(cls, *args, **kwargs):
         """Override default Simplifiable unsimplification."""
-        obj = super(Animal, cls).unsimplify(value)
+        obj = super(Animal, cls).unsimplify(*args, **kwargs)
         obj.redraw()
         return obj
     unsimplify = classmethod(unsimplify)