Create a javafx animated application named


Create a JavaFX Animated Application named NeighborhoodDrive. Make sure your main class is called NeighborhoodDrive. In this Application your program will draw a house, and then make a car drive back and forth forever in front of your house.

Your start() method should be in a class called NeighborhoodDrive, and from that class you must call a class called House passing it your Pane object, and your House class should draw your house.

The house drawn must have a triangular roof and a rectangular two story front side that is filled with a color other than white or black. And the front of your house must have a door and two windows. Your door must also have a doorknob on it, and both of your windows must have a cross frame inside of them dividing each window up into to four window panes.

Then add a car in front of your house that will drive from the right all the way to the left side and then return back from the left all the way back to the right side. And it will continue to do this looping forever. And your car should move only 10 pixels at a time every 40 milliseconds Using the appropriately facing image for when the car is going right or left.

Attachment:- Assignment.rar

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Create a javafx animated application named
Reference No:- TGS02398332

Now Priced at $20 (50% Discount)

Recommended (90%)

Rated (4.3/5)