Package util

Examples of util.Dice.roll()


      bag.push(s);

      //join
      s = bag.pop();
      s2 = bag.pop();
      if (dice.roll() >= (ratio_loss * 100)) {
        s = Stamp.join(s, s2);
      } else {
//        System.out.println("LOSS");
      }
      bag.push(s);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.