Mercurial > mamba
changeset 208:c35e22dc225a
Prepare for circular import
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Wed, 14 Sep 2011 20:30:34 +0200 |
parents | dd2c735fdaf4 |
children | 51d54026b153 |
files | mamba/engine.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mamba/engine.py Wed Sep 14 20:49:23 2011 +0200 +++ b/mamba/engine.py Wed Sep 14 20:30:34 2011 +0200 @@ -1,7 +1,6 @@ """Game engine and top-level game loop.""" from mamba.constants import SCREEN, FPS -from mamba.widgets.base import Container import pygame.event import pygame.display @@ -45,6 +44,7 @@ class Habitat(object): def __init__(self, size=SCREEN): + from mamba.widgets.base import Container self.surface_size = size self.surface = None self.container = Container(pygame.Rect((0, 0), self.surface_size))