daily pastebin goal
2%
SHARE
TWEET

Hilfe?

RandomGuy32 Feb 7th, 2014 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Okay, um das ganze nochmal klarzustellen. fInit() würde dann so aussehen:
  2.  
  3. function fInit() {
  4.                 flagGreet{state:false};
  5.                 flagAskSex{state:true};
  6.                 flagGetStarted{state:true};
  7.                 flagStartRoom{state:true};
  8.                 // Und so weiter und so fort mit allen weiteren Flaggen
  9.                 }
  10.  
  11. fChangeFlags wäre dann so:
  12.  
  13. function fChangeFlags(strSetFlag, strClearedFlag) {
  14.                 // Schaltet zwei Flaggen um
  15.                 strSetFlag.state = true;
  16.                 strClearedFlag.state = false;
  17.                 }
  18.  
  19. Und würde so aufgerufen werden:
  20.  
  21. fChangeFlags(flagGreet, flagAskSex);
  22.  
  23. Oder wie oder was?
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