string setStatisticText(STATISTIC statistic) { switch (statistic) { case STATISTIC.CHECKPOINTS: return(string.Format("{0}/{1}", statistics.GetCheckpointsPassed(), statistics.GetTotalCheckpoints())); case STATISTIC.COLLECTABLES: return(string.Format("{0}/{1}", statistics.GetCollectablesGathered(), statistics.GetTotalCollectables())); case STATISTIC.DAMAGE: return(string.Format("{0}", statistics.GetDamageTaken())); case STATISTIC.KILLS: return(string.Format("{0}/{1}", statistics.GetEnemiesKilled(), statistics.GetTotalEnemies())); case STATISTIC.MESSAGES: return(string.Format("{0}/{1}", statistics.GetPowerupsCollected(), statistics.GetTotalPowerups())); default: return(string.Format("Error: Not Implemented enum")); } }