Exemple #1
0
 public void movingForward()
 {
     if (Randomiser.withChance(values.tropeChance + values.timer.timeSinceLastTrope * 0.01f))
     {
         values.currentTrope = values.adventureGenerator.getNextTrope(this);
         values.timer.updateLastTropeTime();
         values.currentTrope.begin(values);
         changeState(JorneyData.State.standingTrope);
     }
 }