예제 #1
0
        /// <summary>
        /// Gets the name of the challenge from the database.
        /// </summary>
        /// <returns>
        /// Name of the challenge
        /// </returns>
        public string GetChallengeName()
        {
            var challenge = connectToDatabase.GetChallengeQuery(currentChallengeHover);

            return(challenge.Name);
        }
예제 #2
0
 /// <summary>
 /// Get the Challenge that is currently hovered.
 /// </summary>
 /// <param name="currentChallengeHover"></param>Name of the currently Challenge hover.
 /// <returns></returns>Returns the Challenge being hovered.
 public Challenge GetChallengeQuery(String currentChallengeHover)
 {
     return(connectToDatabase.GetChallengeQuery(currentChallengeHover));
 }