home *** CD-ROM | disk | FTP | other *** search
- property myCast, mySprite
-
- on birth me, aSprite
- set myCast to 1
- set mySprite to aSprite
- puppetSprite(mySprite, 1)
- set the castNum of sprite mySprite to myCast
- return me
- end
-
- on upDateDigit me, aDigit
- if (aDigit >= 0) and (aDigit <= 9) then
- set myCast to 1 + aDigit
- set the castNum of sprite mySprite to 23
- updateStage()
- set the castNum of sprite mySprite to myCast
- updateStage()
- end if
- end
-
- on setPOS me, aH, aV
- set the locV of sprite mySprite to aV
- set the locH of sprite mySprite to aH
- end
-