Skip to content

Instantly share code, notes, and snippets.

@teeler
Created January 14, 2019 04:46
Show Gist options
  • 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