Guest User

Untitled

a guest
Jan 26th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ^<function MyGameState() {
  2.   /* Called once. Put your one-time initializing here. */
  3.   this.setup = setupFunc
  4.  
  5.   /* Called each gametick. Put your gamelogic here. */
  6.   this.update = updateFunc
  7.  
  8.   /* Called each gametick after update(). Put your drawing here. */
  9.   this.draw = drawFunc
  10. }>
  11.  
  12.  
  13. above translates to?
  14.  
  15. ^[                     
  16.  
  17.     #setup -> setupFunc.
  18.     #update -> updateFunc.
  19.     #draw -> drawFunc.
  20.     ].
Add Comment
Please, Sign In to add comment