PJ1 Lesson3a


lab03a.zip contains a skeleton of a simple simulation of something like a catapult: a ball is accelerated by a constant force and then it is running on ballistic trajectory as it is influenced by gravity force.


Separate project into packages:

  • pl1.common – classes that contains common used routines;
  • pl1.lab03 – classes that start application;
  • pl1.lab03.core –  classes implementing simulation.

Using libraries

Implement methods in the class Ball: move, accelerate.

Implement method in the class Catapult shootBall and in the class Physics manageBallMovement.