DanielleSucher/Lasers — pull request #1 by thomasballinger (2012-04-01 21:05:35+00:00)
Title: fixed dragging bugs, slight refactoring

-factored out checking that a [row, col] pair is on the board
-changed getBBox calls that don't need transformed coordinates
not to use them, because sometimes elements would have crazy values
there when being used for start values
-added rounding (center-finding really) to find which tile the center
of a dragged object is closest to
-added checking that a tile had not been dragged off of the board