View Single Post
Chapter 6 switch
Junior Member
Status: Offline
Posts: 3
Join Date: Jul 2012
Location: cleburne tx
Post Chapter 6 switch - 07-28-2012, 06:39 PM

I am having trouble with chapter 6 exercise 12. The switch needs to be flipped once it is clicked on. So I would create a method for the switch to rotate 1/2 forward or backwards depending on weather or not the switch is in the on position or not. I need to make a function that decides weather or not the switch is in that current position. Any advice? I cant seem to do too much in the function section. I was trying an if/else and dragging the is above an invisible circle. ?? help..
Reply With Quote