@Override
	public void update(double delta) {
		Point mps = Input.getMousePosition();
		Point mp = game.canvas.camera.screenToWorld(mps);
		mouseOver = mp.x > x* World.scale && mp.x < x* World.scale + World.scale && mp.y > y* World.scale && mp.y < y* World.scale + World.scale;
		 
		if(mps.distance(450, 25) < 20 && Input.getMouseDown(Input.MOUSE_LEFT)) {
			game.cameraCyclePeople();
		}else if(Input.getMouse(Input.MOUSE_LEFT)) {
			int wx = mp.x / World.scale;
			int wy = mp.y / World.scale;
			if(game.world.inBounds(wx, wy) && game.world.getTile(wx, wy).getID() != World.tree.getID()) 
				game.world.setTile(wx, wy, World.tree.getID());
		}else if(Input.getMouse(Input.MOUSE_RIGHT)) {
			int wx = mp.x / World.scale;
			int wy = mp.y / World.scale;
			if(game.world.inBounds(wx, wy) && game.world.getTile(wx, wy).getID() != 0) 
				game.world.setTile(wx, wy, 0);
		}
	}