This class represents a single unit of a specific type.
std::shared_ptr< unit > unit_ptr
A single unit type that the player may recruit.
unit_ptr make_unit_ptr(const config &cfg, bool use_traits=false, const vconfig *vcfg=nullptr)
A variable-expanding proxy for the config class.
A config object defines a single node in a WML file, with access to child nodes.