Skip to content

Instantly share code, notes, and snippets.

@deviceplususer
Created August 27, 2019 10:11
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 deviceplususer/90a8b577df890987aaea9dc1e8938735 to your computer and use it in GitHub Desktop.
Save deviceplususer/90a8b577df890987aaea9dc1e8938735 to your computer and use it in GitHub Desktop.
...
// 加速度センサーが反応していれば、動物を増やす
if ( bornFlag )
{
bornFlag = false;
bornAnimal(-1);
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment