Skip to content

Instantly share code, notes, and snippets.

@teeler
Created January 14, 2019 04:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teeler/c03573f6d366d528732350ef955056fd to your computer and use it in GitHub Desktop.
Save teeler/c03573f6d366d528732350ef955056fd to your computer and use it in GitHub Desktop.
SCRIPT-8
initialState = {
actors: [
]
}
update = (state, input, elapsed) => {
}
drawActors = (state, fade) => {
state.actors.forEach(actor => {
})
}
draw = state => {
clear()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment