import java.util.*; public class Clear { private Position position; public Clear(Position position) { this.position = position; } public boolean getClear() { return ((this.position.getPosition().getY() > 100.0) ? true : false); } }