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

public class Time {
    private double value;

    public void gravity(double y) {
        this.value = (this.value + 0.01);
    }

    public double getValue() {
        return value;
    }
}