public Camera(Vector2f origin, Vector2f offset, AtlasMap map, Player p){
		super(origin, Settings.CAM_H, Settings.CAM_W);
		this.origin = origin;
		this.map = map;
		this.p = p;
		c = new Cycle();
		tileX = (int)offset.x;
		tileY = (int)offset.y;
		targetTileX = tileX;
		targetTileY = tileY;
		spawns = map.getSpawns();
		mobs = new ArrayList<Mob>();
	}