package entities; public class Time { private double value; public void gravity(double y) { this.value = (this.value + 0.01); } public double getValue() { return value; } }