Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 12, 2005, 12:33:16 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: renamed all the \param → @param and so on in Doxygen tags.
Thanks a lot to the kDevelop team. this took since the last commit :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/character_attributes.cc

    r4320 r4836  
    2424
    2525/**
    26    \brief standard constructor
    27    \todo this constructor is not jet implemented - do it
     26 * standard constructor
     27   @todo this constructor is not jet implemented - do it
    2828*/
    2929CharacterAttributes::CharacterAttributes ()
     
    3434
    3535/**
    36    \brief standard deconstructor
     36 * standard deconstructor
    3737
    3838*/
     
    4545
    4646/**
    47    \brief sets the health of the character
    48    \param helath
     47 * sets the health of the character
     48 * @param helath
    4949 */
    5050void CharacterAttributes::setHealth(int health)
     
    5454
    5555/**
    56    \brief adds health to the charater
    57    \param health
    58    \returns health that couldnt be added due to healt limit, 0 if everything worked as normal
     56 * adds health to the charater
     57 * @param health
     58 * @returns health that couldnt be added due to healt limit, 0 if everything worked as normal
    5959 */
    6060int CharacterAttributes::addHealth(int health)
     
    7171
    7272/**
    73    \brief remove health due to damager for example
    74    \param amount of health
    75    \returns false if health is zero -> dead
     73 * remove health due to damager for example
     74 * @param amount of health
     75 * @returns false if health is zero -> dead
    7676 */
    7777bool CharacterAttributes::substractHealth(int health)
     
    8787
    8888/**
    89    \brief gets the current amount of health
    90    \returns health
     89 * gets the current amount of health
     90 * @returns health
    9191 */
    9292int CharacterAttributes::getHealth()
     
    9797
    9898/**
    99    \brief sets maximum health
    100    \param health
     99 * sets maximum health
     100 * @param health
    101101
    102102   if healthMax = 0 -> unlimited
     
    108108
    109109/**
    110    \brief gets health maximium
    111    \returns the health maximum
     110 * gets health maximium
     111 * @returns the health maximum
    112112 */
    113113int CharacterAttributes::getHealthMax()
     
    119119/*======================armor/ shields===================== */
    120120/**
    121    \brief sets the shild strength
    122    \param strength
     121 * sets the shild strength
     122 * @param strength
    123123 */
    124124void CharacterAttributes::setShieldStrength(int shieldStrength)
     
    128128
    129129/**
    130    \brief adds shield strength
    131    \param strength
     130 * adds shield strength
     131 * @param strength
    132132   
    133133   there is currently no limit to shieldstrength
     
    139139
    140140/**
    141    \brief substracts shield strength
    142    \param strength
    143    \returns amount of shield strength below zero after substraction. Magic: Troumble. if everything works allright, it returns 0
     141 * substracts shield strength
     142 * @param strength
     143 * @returns amount of shield strength below zero after substraction. Magic: Troumble. if everything works allright, it returns 0
    144144 */
    145145int CharacterAttributes::substractShieldStrength(int shieldStrength)
     
    155155
    156156/**
    157    \brief gets shield strength
    158    \returns the shield strength
     157 * gets shield strength
     158 * @returns the shield strength
    159159 */
    160160int CharacterAttributes::getShieldStrength()
     
    166166/*=====================damage=====================*/
    167167/**
    168    \brief sets the amount of base damage dealt to all aircrafts
    169    \param damage
     168 * sets the amount of base damage dealt to all aircrafts
     169 * @param damage
    170170
    171171   There can be a difference between arms that hit a ground/air craft. Eg.
     
    179179
    180180/**
    181    \brief gets the amount of base damage
    182    \returns base damage to aircrafts
     181 * gets the amount of base damage
     182 * @returns base damage to aircrafts
    183183
    184184   There can be a difference between arms that hit a ground/air craft. Eg.
     
    193193
    194194/**
    195    \brief sets the amount of base damage dealt to all groundcrafts
    196    \param damage
     195 * sets the amount of base damage dealt to all groundcrafts
     196 * @param damage
    197197
    198198   There can be a difference between arms that hit a ground/air craft. Eg.
     
    206206
    207207/**
    208    \briefgets the amount of base damage
    209    \returns base damage to groundcrafts
     208 * gets the amount of base damage
     209 * @returns base damage to groundcrafts
    210210
    211211   There can be a difference between arms that hit a ground/air craft. Eg.
     
    220220
    221221/**
    222    \brief sets the damage modifier to the damage that is dealed via laser weapons
    223    \param modifier [0..1]
     222 * sets the damage modifier to the damage that is dealed via laser weapons
     223 * @param modifier [0..1]
    224224
    225225   eg. the damage is calculated after: damage = modifier * damageToGroundCraft
     
    231231
    232232/**
    233    \brief gets the damage modifier to the damage that is dealed via laser weapons
    234    \returns damage modifier
     233 * gets the damage modifier to the damage that is dealed via laser weapons
     234 * @returns damage modifier
    235235
    236236   eg. the damage is calculated after: damage = modifier * damageToGroundCraft
     
    243243
    244244/**
    245    \brief sets the damage modifier to the damage that is dealed via plasma weapons
    246    \param damage modifier
     245 * sets the damage modifier to the damage that is dealed via plasma weapons
     246 * @param damage modifier
    247247
    248248   eg. the damage is calculated after: damage = modifier * damageToGroundCraft
     
    254254
    255255/**
    256    \brief gets the damage modifier to the damage that is dealed plasma weapons
    257    \returns damage modifier
     256 * gets the damage modifier to the damage that is dealed plasma weapons
     257 * @returns damage modifier
    258258
    259259   eg. the damage is calculated after: damage = modifier * damageToGroundCraft
     
    266266
    267267/**
    268    \brief sets the damage modifier to the damage that is dealed via explosives
    269    \param damage modifier
     268 * sets the damage modifier to the damage that is dealed via explosives
     269 * @param damage modifier
    270270
    271271   eg. the damage is calculated after: damage = modifier * damageToGroundCraft
     
    277277
    278278/**
    279    \brief sets the damage modifier to the damage that is dealed via explosives
    280    \returns damage modifier
     279 * sets the damage modifier to the damage that is dealed via explosives
     280 * @returns damage modifier
    281281
    282282   eg. the damage is calculated after: damage = modifier * damageToGroundCraft
     
    290290/*=====================energy=====================*/
    291291/**
    292    \brief sets the amount of energy
    293    \param energy
     292 * sets the amount of energy
     293 * @param energy
    294294 */
    295295void CharacterAttributes::setEnergy(int energy)
     
    299299
    300300/**
    301    \brief adds energy to the system
    302    \param amount of energy
    303    \returns amount of energy that is too much due to energy limit
     301 * adds energy to the system
     302 * @param amount of energy
     303 * @returns amount of energy that is too much due to energy limit
    304304 */
    305305int CharacterAttributes::addEnergy(int addEnergy)
     
    316316
    317317/**
    318    \brief substracts energy from a system
    319    \param amount of energy
    320    \returns false if there is no energy anymore
     318 * substracts energy from a system
     319 * @param amount of energy
     320 * @returns false if there is no energy anymore
    321321 */
    322322bool CharacterAttributes::substractEnergy(int subEnergy)
     
    332332
    333333/**
    334    \brief gets the amount of energy
    335    \returns energy
     334 * gets the amount of energy
     335 * @returns energy
    336336 */
    337337int CharacterAttributes::getEnergy()
     
    342342
    343343/**
    344    \brief sets the energy consumption
    345    \param amount of energy
     344 * sets the energy consumption
     345 * @param amount of energy
    346346*/
    347347void CharacterAttributes::setEnergyConsumption(int energy)
     
    351351
    352352/**
    353    \brief gets the energy consumption
    354    \returns amount of energy
     353 * gets the energy consumption
     354 * @returns amount of energy
    355355*/
    356356int CharacterAttributes::getEnergyConsumption()
     
    361361
    362362/**
    363    \brief sets the maximum energy level
    364    \param amount of energy
     363 * sets the maximum energy level
     364 * @param amount of energy
    365365*/
    366366void CharacterAttributes::setEnergyMax(int energy)
     
    370370
    371371/**
    372    \brief gets the max energy level
    373    \returns amount of energy
     372 * gets the max energy level
     373 * @returns amount of energy
    374374*/
    375375int CharacterAttributes::getEnergyMax()
Note: See TracChangeset for help on using the changeset viewer.