zsweedyk/CS121F14S4_Team8 — pull request #13 by danield9tqh (2014-11-17 02:10:42+00:00)
Title: Touch and drag to change switch configuration

Added the touchesBegin, touchesMoved and touchesEnded methods to the Grid so that it can recognize touch. Changed the tag of every switch to 70 so that the grid can tell if a touch is intersecting with a switch. Added imageOrientation to Switch class so that the displayed image of a switch can be different than its orientation while the user is dragging their finger. Added new methods for updating the orientation and image orientation in the switch class. Deleted the array in the switch class so that it does not cycle though possible orientations when clicked.