Created
August 27, 2019 10:11
-
-
Save deviceplususer/00fb041b5187ae1f313ee9bc8e2ea0d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
//体力が上限になったら増える | |
if ( animals[i].life > MAX_BRIGHTNESS ) | |
{ | |
animals[i].life = MAX_BRIGHTNESS / 2; | |
bornAnimal(i); | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment