Erick Asadobay H.W 12.2

Pseudo Code

Array of cars;
Array of images;
Motorcycle class;
Images;
boolean timer

Void Setup(){
size(500,700);
load images
load arrays ( LOOPS)
}

Void Draw(){
background()
loops for arrays
load timer for new cars coming every 3-5 seconds
Motrocycle.display();
Motrocycle.collitionTest();
}

Class Motrocycle{
Dislplay()
Collition()
Move(If left or right arrow press, then x++ or x–)
Class Cars{
Display()
Move()

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published.