Exemple #1
0
    //public Dictionary<string, Dictionary<string, int>> CurrentEnemykills;
    //public Dictionary<string, int> CurrentWeaponKills;
    //public Dictionary<string, int> CurrentWeaponScores;
    //public Dictionary<string, int> CurrentPowerUps;

    //public Dictionary<string, Dictionary<string, int>> MaxEnemyWeaponKills;
    //public Dictionary<string, int> MaxEnemyKills;
    //public Dictionary<string, int> MaxWeaponKills;
    //public Dictionary<string, int> MaxWeaponScores;

    //public Dictionary<string, Dictionary<string, int>> LifetimeEnemyKills;
    //public Dictionary<string, int> LifetimeWeaponKills;
    //public Dictionary<string, int> LifetimeWeaponScores;

    //public Dictionary<string, int> MaxWeaponSwitches;
    //public Dictionary<string, int> LifetimeWeaponSwitches;

    //public Dictionary<string, int> MaxWeaponUsedAtLevel;


    //public Dictionary<string, int> MaxPowerUps;
    public void ShowOverallStats()
    {
        string disp = "";

        disp += "Most Enemies Defeated : " + m_st.maxKills + "  \t \t \t| Most Weapon Kills (one life): " + m_st.MaxValString(m_st.MaxWeaponKills) + " : " + m_st.MaxVal(m_st.MaxWeaponKills) + "\n";
        disp += "Total Enemies Defeated : " + m_st.SumStat(m_st.LifetimeEnemyKills) + "   \t \t \t| Most Weapon Kills (all time): " + m_st.MaxValString(m_st.LifetimeWeaponKills) + " : " + m_st.MaxVal(m_st.LifetimeWeaponKills) + "\n";
        disp += "Highest Score : " + m_st.maxScore + "     \t \t \t \t \t \t| Highest Score Weapon: " + m_st.MaxValString(m_st.MaxWeaponScores) + " : " + m_st.MaxVal(m_st.MaxWeaponScores) + " points \n";
        disp += "Most Switches (one life) : " + m_st.maxSwitches + "   \t \t \t| Most Used Weapon: " + m_st.MaxValString(m_st.LifetimeWeaponSwitches) + " : " + m_st.MaxVal(m_st.LifetimeWeaponSwitches) + " times \n";
        disp += "Highest Level : " + m_st.MaxVal(m_st.MaxWeaponUsedAtLevel) + "\n";

        StatDisplay.text = disp;
        Message.text     = "Click on a Weapon to Show it's Stats.";
    }