Projectile

This commit is contained in:
Leen Dereu
2018-05-22 22:15:54 +02:00
parent 12defdc769
commit d30f39509f

View File

@@ -82,7 +82,8 @@ public abstract class Projectile extends GameObject {
private double jumpVelocity() { private double jumpVelocity() {
return getForce() / (getMass() / 1000) * FORCE_TIME; return getForce() / (getMass() / 1000) * FORCE_TIME;
} }
//TODO jumpTimeStep moet nog toegepast worden!
public double getJumpTime(double jumpTimeStep) { public double getJumpTime(double jumpTimeStep) {
World world = getWorld(); World world = getWorld();