Fixed jumping platform collision detection. Replaced moveX and moveY functions with accelerate and added setVeclocity method.