update Player.java to handle changes of position and velocity correct