package entities; import java.util.*; public class Time { private double value; public void gravity(double y) { this.value = (this.value + 1); } public double getValue() { return value; } }