
12-14-2009, 08:29 PM
Well I had to rush this because I have to go, but this is what I came up with so far, hope it helped. I made it while switch is not up (by the way you have the switch upside down) then it starts it, and when the switch is switched off, it stops the actions. It does not stop the actions mid move however, it has to wait until the method runs through, then it stops. So it stops the infinite loop, but only when the method finishes.
Tell me if this is what you were looking for please.
Check out my best projects so far and please comment:
Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
|