Newer
Older
JumpingGame / src / Gameover.java
import java.util.*;

public class Gameover {
	private Position position;

	public Gameover(Position position) {
		this.position = position;
	}

	public boolean getGameover() {
		return ((this.position.getPosition().getY() < -(1.0)) ? true : false);
	}
}