Skip to content

Instantly share code, notes, and snippets.

@cooljith91112
Created August 16, 2018 10:45
Show Gist options
  • Select an option

  • Save cooljith91112/04cf17be719c00b583bdefcc81c8dfe9 to your computer and use it in GitHub Desktop.

Select an option

Save cooljith91112/04cf17be719c00b583bdefcc81c8dfe9 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