
Untitled
By: a guest on
Jun 20th, 2012 | syntax:
None | size: 0.59 KB | hits: 9 | expires: Never
Boostrap ->
Creates window
Creates Panels (Welcome, page1...n, DrivingPanel.. etc)
DrivingPanel
-> Draws Track
-> Loads car + Draws car in track start place
-> Assigns keyboard listener to the panel
-> Loop starts depending on keyboard options moves car into new Position
-> checks for hitting walls etc Does appropriate stuff with car
-> some finish checking etc
-> Triggers new panel change
-> Slides over to the next panel pageX which has the results
Abstract Track
-> returns starts point + heading
-> returns paths (inner + outer)
-> finish line