Newer
Older
JumpingGame / src / Gameover.java
k-fujii on 6 Sep 2021 253 bytes initial commit
import java.util.*;

public class Gameover {
	private Position position;
	public Gameover(Position position) {
		this.position = position;
	}
	public boolean getGameover() {
		return ((this.position.getPosition().getValue()<-(1.0)) ? true : false);
	}
}