예제 #1
0
    ///<description>Setting level description- enemies killed (by type) and level bonus</description>
    void SetLevelCompleteDescription(int level)
    {
        string levelDiscription = "Level " + level + " Complete";

        levelDiscription += "\n\nEnemy type\t\t\t|\tPoint Gain\tx\tKill count";
        foreach (AIPlaneSOData planeSOData in enemiesKilledPerType.Keys)
        {
            levelDiscription += "\n" + planeSOData.planeName + "\t\t|\t" + planeSOData.scoreBonusOnKill + "\t\t\t\tx\t" + enemiesKilledPerType[planeSOData];
        }
        levelDiscription += "\n\nLevel Complete Bonus: +" + scoreSOData.scorePerLevelComplete;

        scoreView.OnLevelComplete(levelDiscription);
    }