Skip to content

Instantly share code, notes, and snippets.

@bleroy
Created July 28, 2021 20:07
Show Gist options
  • Save bleroy/3cfc8b29e66b045cb513eccfbe1113cb to your computer and use it in GitHub Desktop.
Save bleroy/3cfc8b29e66b045cb513eccfbe1113cb to your computer and use it in GitHub Desktop.
setClass(viewport, "alternate",
(party.tile.row + party.tile.column +
(party.facing == Party.facingDirection.east || party.facing == Party.facingDirection.west ? 1 : 0)
) % 2 === 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment