public void paint(Graphics g, Dimension windowDimension, Point playerPoint){
		int worldWindowOffsetX = (int)Math.floor((playerPoint.x/POSITION_MULTIPLYER-windowDimension.width/BLOCK_SIZE/2));
		int worldWindowOffsetY = (int)Math.floor((playerPoint.y/POSITION_MULTIPLYER-windowDimension.height/BLOCK_SIZE/2));
		int x = 1;
		while(x*BLOCK_SIZE <= windowDimension.width){
			int y = 1;
			while(y*BLOCK_SIZE <= windowDimension.height){
				blocks[x+worldWindowOffsetX][y+worldWindowOffsetY].paint(
						g, 
						x*BLOCK_SIZE - BLOCK_SIZE - playerPoint.x%POSITION_MULTIPLYER, 
						y*BLOCK_SIZE - BLOCK_SIZE - playerPoint.y%POSITION_MULTIPLYER
				);
				y++;
			}
			x++;
		}
	}