Projectile
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user