Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Thread Tools Display Modes
Chapter 6 switch
Junior Member
Status: Offline
Posts: 3
Join Date: Jul 2012
Location: cleburne tx
Post Chapter 6 switch - 07-28-2012, 07: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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.