Advertisement
alestane

Recovering shared scope

Feb 13th, 2012
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1.     -- GAMESTATE FUNCTION
  2.     --
  3.     local gameState = function(e)
  4.         gameOn = true;
  5.         print("gamestate change")
  6.         physics.start()
  7.         Runtime:removeEventListener("touch", e.target.parent.drawLineWrapper)
  8.     end
  9.    
  10.     M.gameState = gameState
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement