Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 20th, 2012  |  syntax: None  |  size: 0.59 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Boostrap ->
  2.         Creates window
  3.         Creates Panels (Welcome, page1...n, DrivingPanel.. etc)
  4.        
  5.         DrivingPanel
  6.                 -> Draws Track
  7.                 -> Loads car + Draws car in track start place
  8.                 -> Assigns keyboard listener to the panel
  9.                 -> Loop starts depending on keyboard options moves car into new Position
  10.                         -> checks for hitting walls etc Does appropriate stuff with car
  11.                         -> some finish checking etc
  12.                
  13.                 -> Triggers new panel change
  14.                 -> Slides over to the next panel pageX which has the results
  15.                
  16. Abstract Track
  17.         -> returns starts point + heading
  18.         -> returns paths (inner + outer)
  19.         -> finish line