This project implemented for animating behaviour of multiple vehicles movements. Application does three things.
- Adding vehicle Application adds a vehicle as a new async thread.
- Change vehicle direction Application changes vehicle direction via changing vehicle objects direction properties.
- Animating vehicles Application visualizes the movement of vehicles.
In order to setup, maven4 and jdk8 are requred.
- Setum activeMQ
- Built project (at same directory with pom.xml)
mvn package
- Run application (at target file)
java -jar movingvehicles-1.0-SNAPSHOT-jar-with-dependencies.jar
There are three choses;
- Add a vehicle
- Change vehicle direction
- Animate vehicles
user choses them 1 to 3 and follow to insructions.