package entities; import java.util.*; public class Gameover { private boolean value = false; public void updatePosition(Pair<Double> position) { boolean temp_if6; if ((position.getRight()<-(1.0))) { temp_if6 = true; } else { temp_if6 = false; } value = temp_if6; } public boolean getValue() { return value; } }