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

public class Gameover {
	private boolean value = false;
	public void updatePosition(Pair<Double> position) {
		boolean temp_if0;
		if ((position.getRight()<-(1.0))) {
			temp_if0 = true;
		} else {
			temp_if0 = false;
		}
		value = temp_if0;
	}
	public boolean getValue() {
		return value;
	}
}