Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ^<function MyGameState() {
- /* Called once. Put your one-time initializing here. */
- this.setup = setupFunc
- /* Called each gametick. Put your gamelogic here. */
- this.update = updateFunc
- /* Called each gametick after update(). Put your drawing here. */
- this.draw = drawFunc
- }>
- above translates to?
- ^[
- #setup -> setupFunc.
- #update -> updateFunc.
- #draw -> drawFunc.
- ].
Add Comment
Please, Sign In to add comment