Newer
Older
JumpingGame / src / main / java / entities / Gameover.java
k-fujii on 15 Nov 2021 395 bytes entity→entitiesに変更
package entities;

public class Gameover {
    private Position position;

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

    public boolean getGameover() {
        boolean temp_l6;
        if ((this.position.getValue().getSecond() < -(1.0))) {
            temp_l6 = true;
        } else {
            temp_l6 = false;
        }
        return temp_l6;
    }
}