I am using this method to document my methods:
/**
* Order beers from another player and add them into own inventory.
* @params from The Player who has to deliver the order
*/
void Player::order(const int numberOfBeers, Player &from)
{
from.decreaseInventory(numberOfBeers);
increaseInventory(numberOfBeers);
}
When I check my output files, I just get this in such a format:
Order beers from another player and add them into own inventory. from The Player who has to deliver the order
This looks very unstructured. There's no separation for parameters. How could I fix this?