Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Game::ResetGoal()
- {
- goalX = (rand() % (799 - GOALRAD * 2)) + GOALRAD;
- goalY = (rand() % (599 - GOALRAD * 2)) + GOALRAD;
- nJelly += 1;
- nGoal += 1;
- if (nJelly > NJELLY)
- {
- nJelly = NJELLY;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement