Ejemplo n.º 1
0
    private static int GetMaxRocksDestroyed(double idleTime)
    {
        int    maxLevel        = GameController.Instance.GetMaxLevel();
        double damagePerSecond = GameController.Instance.GetMiningPower();

        return(RockValuesCalculator.GetRocksDestroyedByTime(maxLevel, damagePerSecond, idleTime));
    }
Ejemplo n.º 2
0
        protected static int GetCurrentRocksDestroyed(double time)
        {
            int    currentLevel    = GameController.Instance.GetLevel();
            double damagePerSecond = GameController.Instance.GetMiningPower();

            return(RockValuesCalculator.GetRocksDestroyedByTime(currentLevel, damagePerSecond, time));
        }