home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Singles (French)
/
Singles-FrenchVersion-Win95.iso
/
data1.cab
/
Statemachine
/
aquarium.lua
next >
Wrap
Text File
|
2004-03-05
|
503b
|
24 lines
-- aquarium state machine
beginStateMachine()
onMsg("buildMenu", function(msg)
if (repairMenu()) then return end
-- build the pie menu
clearPieMenu();
end )
onEnter(function(msg)
-- sendMsgThis("startAnimation");
this.startAnimation("Aquarium");
end )
--~ onMsg("startAnimation", function(msg)
--~ local animationLength = this.startAnimation("Aquarium");
--~ sendDelayedMsgThis("startAnimation", animationLength);
--~ end )
endStateMachine()