commit: | ae58495a6d08957b7f7e67e97197fce0160eef67 |
author: | Chip Black |
committer: | Chip Black |
date: | Fri Jul 11 01:51:33 2008 -0500 |
parents: | 2b6f8650b7ca7b36e803c4a035761c43a7fd332f |
diff --git a/Camera.py b/Camera.py line changes: +4/-2 index 6df61f9..5996232 --- a/Camera.py +++ b/Camera.py
@@ -1,3 +1,5 @@ +import pygame + class Camera: stage = None resolution = None
@@ -5,9 +7,9 @@ class Camera: camerapos = None bbox = None - def __init__(self, stage, resolution): + def __init__(self, stage): self.stage = stage - self.resolution = resolution + self.resolution = pygame.display.get_surface().get_size() self.camerapos = [0,0]