Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Searching 6244 files for "execute"
- /Users/catlard/apps/funenglish/_games/make_a_scene/Views/ViewObjects/Animation.lua:
- 131 function view:nextOrder()
- 132 if Model.getOrder() == data.order then
- 133: self:execute{phase="began", order=true}
- 134 end
- 135 end
- ...
- 164 if event.phase=="began" then
- 165 local duration
- 166: duration, handled = view:execute(event)
- 167 if not object then return end
- 168 if object.master and object.master.mute then
- ...
- 187 local handled
- 188 if event.phase=="began" then
- 189: -- execute the animation
- 190 -- any animation which wishes to stop propagation of the event can return
- 191 -- true for handled
- 192 local duration
- 193
- 194: duration, handled = view:execute(event)
- 195
- 196 if object.master and object.master.mute then
- ...
- 219
- 220 ]]
- 221: function view:execute(event)
- 222
- 223 local duration, handled
- /Users/catlard/apps/funenglish/lib/scamp/utils/CommandQueue.lua:
- 12 local trig
- 13
- 14: function commandQueue.execute()
- 15: -- pull next one off queue, execute it
- 16 if #queue > 0 then
- 17 local item = queue[1]
- ..
- 22 function()
- 23 table.shift(queue)
- 24: commandQueue.execute()
- 25 end
- 26 )
- ..
- 34 if #queue == 1 then
- 35 -- if no queue, then fire it off!
- 36: commandQueue.execute()
- 37 end
- 38 end
- /Users/catlard/apps/funenglish/setup.lua:
- 1: os.execute('clear')
- 2 math.randomseed(os.time())
- 3 display.setStatusBar( display.HiddenStatusBar )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement