Basic Animation Loop
Class Level
- Make animation variables
- Make thread
- Make boolean sentry variable (keepGoing)
Init method
- Initialize animation variables
- Load graphics and sounds
- Load up arrays
Start method
Stop method
Run Method
- while keepGoing is true,
- pause the thread
- modify animation variables
- Check boundaries
- call repaint
Paint method
- Do all drawing
- Use animation variables