public boolean update(int mx, int my, boolean down) {
		if(rect.contains(mx, my)) {
			if(down) {
				state = "down";
			} else {
				if(state == "down") {
					for(Callback c : callbackArrayList) {
						c.run();
					}
				}
				state = "hover";
			}
			return true;
		} else {
			state = "up";
			return false;
		}
	}