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); } }