Skip to content

Instantly share code, notes, and snippets.

@njlr
Created November 17, 2017 10:43
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 njlr/339a4f3365bea0993e40a94a752078eb to your computer and use it in GitHub Desktop.
Save njlr/339a4f3365bea0993e40a94a752078eb to your computer and use it in GitHub Desktop.
module.exports = {
connectInputs: (canvas, inputHandler) => {},
getInitialState: () => ({}),
handleInput: (state, input) => state,
update: (state, delta) => state,
render: (state, canvas) => {}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment