tinkerlog/Kritzler — pull request #1 by jasonwebb (2012-05-27 00:50:05+00:00)
Title: Added real-time location tracking + Javadoc comments

* Added some code to the Kritzler.processSerial() function to grab the current bot location from the "#idle, xy: {number} {number}" messages sent by the Arduino code.
* Added the method drawMarker() to the Kritzler class to draw a small, semi-transparent circle at the last known location of the pen. Marker changes color based on internal state of Kritzler object (blue = plotting, red = paused, green = finished).
* Added a simple internal state machine to the Kritzler class so that it has a rough idea of what its doing at a given time.
* Added code to the Plotter class to update the state of the Kritzler object correctly as input is received.
* Moved canvas-related drawing activity in Plotter class to a function called drawCanvas(), so that canvas can be redrawn frame-by-frame more easily.
* Added a toString() method to the Instruction class in preparation for an 'export' function I'm working on.
* Added loads of Javadoc comments and general formatting, just to help out further people working with the code. Should also be helpful if a Kritzler Processing library is ever developed.

NOTE: I'm new to Git, so my Eclipse workspace is not the same as my Git project workspace. As a result, when I was finished with my updates, I copied the relevant files into my local Git repo and committed / pushed. As a result, it seems that Git doesn't consider the files the same and thinks I removed the old lines and added entirely new ones. Sorry about that!