Teta = (double) (To.y - From.y) / (To.x - From.x);
}
public void nextFrame() {
//if (Status.startsWith("Move")) {
Vector Loc = this.getLoc();
double t = RefreshRate / 1000.0;
double nimt2 = 0.5 * Math.pow(t, 2);
double newX = Acceleration.x * nimt2 + Velocity.x * t + Loc.x;
double newY = Acceleration.y * nimt2 + Velocity.y * t + Loc.y;
if (newX >= -OnPitch.getWidth() / 2 && newX <= OnPitch.getWidth() / 2 && newY >= -OnPitch.getHeight() / 2 && newY <= OnPitch.getHeight() / 2) {