Skip to content

Commit

Permalink
Doc comment for unit_type::advancement_tree
Browse files Browse the repository at this point in the history
  • Loading branch information
luther9 committed Jun 9, 2017
1 parent e549d17 commit e9d4d89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/units/types.hpp
Expand Up @@ -105,7 +105,9 @@ class unit_type
void add_advancement(const unit_type &advance_to,int experience);

/** Get the advancement tree
* Build a set of unit type's id of this unit type's advancement tree */
* @return a set of ids of all unit_type objects that this unit_type can
* advance to
*/
std::set<std::string> advancement_tree() const;

const std::vector<std::string>& advances_to() const { return advances_to_; }
Expand Down

0 comments on commit e9d4d89

Please sign in to comment.