getRemainingYFromTime method
Returns the vertical y value according to the time when the Entity would appear on the view
Implementation
double getRemainingYFromTime(int ms) {
return this.viewHeight * laneSpeed * ms / -1000;
}
Returns the vertical y value according to the time when the Entity would appear on the view
double getRemainingYFromTime(int ms) {
return this.viewHeight * laneSpeed * ms / -1000;
}