* @param int EnemyDefencePower
* Takes defence points of opponent and subtract from your AttackPower
* @return int Attack
* Returns damage done to other player by the attack
*/
I think that's javadoc, isn't it?
Use instead:
/// <summary>
/// Returns damage done to other player by the attack
/// </summary>
/// <param name="enemyDefencePower">Takes defence points of opponent and substracts from your AttackPower</param>
/// <returns>The damage done to other player by the attack</returns>
ugh, that looks really ugly
Обсуждают сегодня