Newer
Older
JumpingGame / src / Clear.java
k-fujii on 10 Sep 2021 245 bytes ・updateメソッドとsetterを分離
import java.util.*;

public class Clear {
	private Position position;

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

	public boolean getClear() {
		return ((this.position.getPosition().getKey() > 100.0) ? true : false);
	}
}