Examples of rollDice()


Examples of transientlibs.objects.general.Dice.rollDice()

        for (Action a : collectedCards) {
            cardRoller.addOption(a.adjustedChanceToDraw, a.ID);
        }

        cardRoller.rollDice();

        getCard(Action.getActionByID(cardRoller.resultID));

        Log.info("Card drawn: " + hand.get(hand.size() - 1).action.LName);
    }
View Full Code Here

Examples of transientlibs.objects.general.Dice.rollDice()

                dice.addOption(nowGroup.get(nowID).frequency, nowID);

                //Log.info("Filling chances for look " + nowGroup.get(nowID).LName);
            }

            dice.rollDice();

            looks.add(new SmallPoints(dice.resultID, 100));

            //Log.info("Rolled "+nowGroup.get(dice.resultID).LName);
View Full Code Here

Examples of transientlibs.objects.general.Dice.rollDice()

for (nowID = 0; nowID < Job.jobs.size(); nowID++) {
                dice.addOption(Job.jobs.get(nowID).frequency, nowID);
            }

            dice.rollDice();

            job = Job.jobs.get(dice.resultID);


    }
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.