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

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

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