daily pastebin goal
83%
SHARE
TWEET

Untitled

a guest May 16th, 2018 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. State* Slotmachine::update(State* currentGame) {
  2.  
  3.   if(isSame(reel[0].getSymbol(),reel[1].getSymbol) && isSame(reel[1].getSymbol(),reel[2].getSymbol())) {
  4.  
  5.  
  6.     if(!paid) {
  7.    
  8.       money += 50;
  9.       paid = true;
  10.       setMoney(money);
  11.      
  12.     }
  13.   }
  14.  
  15.  
  16.   return currentGame;
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top