def __init__(self, cam=None, world=None): """Constructor""" self.camera = cam if cam is None: self.camera = UI.Camera(600, 600, "white", controller=self) self.world = world if world is None: self.world = WorldController() self.world_unit = self.world.world_unit