Mercurial > mamba
diff mamba/engine.py @ 59:3cc917814579
Container subclasses Widget
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sun, 11 Sep 2011 16:33:50 +0200 |
parents | e5f36843f7cd |
children | fc4b7db1d832 |
line wrap: on
line diff
--- a/mamba/engine.py Sun Sep 11 16:21:36 2011 +0200 +++ b/mamba/engine.py Sun Sep 11 16:33:50 2011 +0200 @@ -39,7 +39,7 @@ def __init__(self): self.surface = pygame.Surface(SCREEN) - self.container = Container() + self.container = Container(pygame.Rect((0, 0), SCREEN)) def on_enter(self): """Called when this becomes the current habitat."""