//End of Turn Effects public void CheckPower(bool PlayerOneTurn) { if (PlayerOneTurn) { if (pearPower == 1) { //Lockdown first card powerUps.PearPower(); } if (applePower == 1) { //lockdown second card powerUps.ApplePower(); } if (bananaPower == 1) { //reshuffle powerUps.BananaPower(); } if (cherryPower == 1) { //keep picks hidden } if (pineapplePower == 1) { //pick a square and place down two onions gameManager.InfoText.text = "Pineapple Power! Pick a card to place smelly onions"; gameManager.powerUpMode = true; gameManager.pineappleMode = true; } if (strawberryPower == 1) { //Effect is instant } if (watermelonPower == 1) { //dunno yet } if (jamPower == 1) { // award TWO points //Effect is instant } if (onionPower == 1) { //Effect is instant } } else if (!PlayerOneTurn) { if (pearPower == 2) { //Lockdown first card powerUps.PearPower(); } if (applePower == 2) { //Lockdown second card powerUps.ApplePower(); } if (bananaPower == 2) { //reshuffle powerUps.BananaPower(); } if (cherryPower == 2) { //keep picks hidden } if (pineapplePower == 2) { //pick a square and place down two onions gameManager.InfoText.text = "Pineapple Power! Pick a card to place smelly onions"; gameManager.powerUpMode = true; gameManager.pineappleMode = true; } if (strawberryPower == 2) { //Effect is instant } if (watermelonPower == 2) { //dunno yet } if (jamPower == 2) { // award TWO points //Effect is instant } if (onionPower == 2) { //Effect is instant } } }