Newer
Older
JumpingGame / src / main / java / entities / Clear.java
package entities;

public class Clear {
	private boolean value = false;
	public void updatePosition(Pair<Double> position) {
		boolean temp_if2;
		if ((position.getLeft()>100.0)) {
			temp_if2 = true;
		} else {
			temp_if2 = false;
		}
		value = temp_if2;
	}
	public boolean getValue() {
		return value;
	}
}