use available abbreviations in example
This commit is contained in:
parent
dc1109202b
commit
8c493a0304
|
@ -237,9 +237,8 @@ Example_panes = {
|
|||
' U = U + dt',
|
||||
' if U < T then return end',
|
||||
' U = U - T',
|
||||
' local touches = love.touch.getTouches()',
|
||||
' for _,id in ipairs(touches) do',
|
||||
' local x,y = love.touch.getPosition(id)',
|
||||
' for _,id in ipairs(touches()) do',
|
||||
' local x,y = touch(id)',
|
||||
' if trails[id] then',
|
||||
' table.insert(trails[id], 1, {x=x, y=y, r=100})',
|
||||
'end end',
|
||||
|
|
Loading…
Reference in New Issue