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

public class Onground {
	private Ground ground;
	private Position position;
	public Onground(Ground ground, Position position) {
		this.ground = ground;
		this.position = position;
	}
	public boolean getOnground() {
		return ((this.ground.getGround()==true)&&(this.position.getPosition().getSecond()<=0.0));
	}
}