Ejemplo n.º 1
0
		/// <summary>
		/// Unregister champ.
		/// </summary>
		/// <param name="champ">The champ.</param>
		/// <returns></returns>
		public bool UnRegisterChamp(ChampKinCity champ)
		{
			if (m_Champs.Contains(champ))
			{
				m_Champs.Remove(champ);
				return true;
			}
			return false;
		}
Ejemplo n.º 2
0
		/// <summary>
		/// Registers champ.
		/// </summary>
		/// <param name="champ">The champ.</param>
		/// <returns></returns>
		public bool RegisterChamp(ChampKinCity champ)
		{
			if (m_Champs.Contains(champ)) return false;
			m_Champs.Add(champ);
			return true;
		}