Newer
Older
JumpingGameOriginalSources / src / Gameover.java
k-fujii on 7 Dec 2021 326 bytes MapをPairクラスへ置換
import java.util.*;

public class Gameover {
	private Position position;
	public Gameover(Position position) {
		this.position = position;
	}
	public boolean getGameover() {
		boolean temp_l5;
		if((this.position.getPosition().getSecond()<-(1.0))) {
			temp_l5 = true;
		} else {
			temp_l5 = false;
		}
		return temp_l5;
	}
}